EaxRibbonView.getChartCategory

Syntax

getChartCategory();

Description

The getChartCategory method returns view of the Chart tab on the express report tool ribbon.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Let us hide the Home, Data and View tabs, and show the Table, Chart, and Title tabs on the tool ribbon:

// Get an object of the express report tool ribbon
var ribbon = expressBox.getRibbonView();
// Show the Chart tab
ribbon.getChartCategory().show();
// Show the Table tab
ribbon.getTableCategory().show();
// Show the Title tab
ribbon.getTitleCategory().show();
// Hide the Home tab
ribbon.getMainCategory().hide();
// Hide the Data tab
ribbon.getDataRibbonCategory().hide();
// Hide the View tab
ribbon.getViewRibbonCategory().hide();

Before the method is applied the tabs look as follows:


After the method is applied the tabs look as follows:

See also:

EaxRibbonView