EaxAnalyzer.getTypeGrowth

Syntax

getTypeGrowth();

Description

The getTypeGrowth method returns type of the set growth indicator.

Comments

The method returns an element of the PP.Exp.Ui.IndicatorType enumeration.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Open the express report table, in the tool ribbon select the For Columns option next to the Growth Indicator button. Now check the type of defined growth indicator:

var eaxAnalyzer = expressBox.getSource();
// Define type of the current growth indicator
var growthType = eaxAnalyzer.getTypeGrowth()
if (growthType != null) {
    console.log("Growth indicator type: " + growthType);
} else {
    console.log("Growth indicator type is not defined.");
};

After executing the example the browser console displays the following message:

Growth indicator type: Columns
 

If we select the For Rows option, the example above shows the growth indicator type Rows.

See also:

EaxAnalyzer