EaxMdService.setDimensionSettings

Syntax

setDimensionSettings(report, metadata, callback);

Parameters

Report. PP.Exp.EaxAnalyzer. Express report instance.

Metadata. Object. Metadata.

Callback. PP.Delegate | Function. Callback function.

Description

The setDimensionSettings method is used to set values on the Dimension Detailing properties panel.

Example

Executing the example requires that HTML page that contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component).

//Get report.

var report = expressBox.getSource();

//Get metadata.

var metadata = report.getMetadata().dimensionSettings;

var part = metadata.drillSettings;

//Set dimension value for variable, which need to be set.

part.mode = `Replace`;

//Call the setDimensionSettings method.

eaxMdService.setDimensionSettings(eaxAnalyzer, metadata, part);

//Refresh tree of elements.

dataV = expressBox.getDataView();

dataV.refresh();

After executing the example the Method of Selection Change box is set to Replace on the detailing panel.

See also:

EaxMdService