PP.Exp.Ui.DimIndicatorMP(settings);
settings. JSON object that contains class properties.
The DimIndicatorMP constructor creates an instance of the DimIndicatorMP class.
Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Then create the Indicators tab and add it to the express report properties panel:
var panel; // Get express report properties panel var propBar = expressBox.getPropertyBarView().getControl(); // Get metadata var md = expressBox.getSource().getMetadata(); if (md) { var indicDimSource = expressBox.getSource().getDim(md.map.indicatorsDimension ? md.map.indicatorsDimension.k : null); if (indicDimSource) { // Create the Indicators tab panel = new PP.Exp.Ui.DimIndicatorMP({ Source: indicDimSource, // Set data source OwnerMaster: expressBox, Data: indicDimSource.getKey(), Title: indicDimSource.getName(), TypeUpdateData: PP.Exp.Ui.ViewTypeUpdate.Map, IsRTL: expressBox.getIsRTL() }); // Add the Indicators tab to the properties panel propBar.addItem(panel); } }
After executing the example the Indicators tab is created on the express report properties panel:
See also: