AnalyticsCatView.setPropertyValue

Syntax

setPropertyValue(propertyName, value);

Parameters

propertyName. Value type. It may take the following values:

value. Object. Set value.

Description

The setPropertyValue method controls button visibility.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Open the Advanced Analytics tab in the report and enter the following code in the console:

// Get tool ribbon
ribbon = expressBox.getRibbonView();
// Get the Advanced Analytics tab
analyticCat = ribbon.getAnalyticsCategory();
// Set visibility for the Time Series Analysis button
analyticCat.setPropertyValue(PP.Exp.Ui.EaxPropertyViews.EnableAnalyticsTimeSeries, false);

After executing the example the Time Series Analysis button is available.

See also:

AnalyticsCatView