EaxAnalyzer.getMetricOdId

Syntax

getMetricOdId(viewType, metric);

Parameters

viewType. PP.Exp.Ui.EaxObjectType. Visualizer type.

metric. PP.Exp.EaxObjectIndicator. Metric type.

Description

The getMetricOdId method returns identifier of selected visualizer metric.

Example

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

// Set metric type
ind = PP.Exp.EaxObjectIndicator.Color;
// Set visualizer type
type = PP.Exp.Ui.EaxObjectType.BubbleChart;
// Get metric identifier
console.debug(eaxAnalyzer.getMetricOdId(type, ind));
// -> Object {id: "JCNEPLLHEFHKEOAEGGKBDFINGMKPKFFEFKCFPBCCNEGIAPPP!M…COBLKDNKOHIEFIMHGPBPIACLNMOF!EaxBubbleChart!Color"}

After executing the example the console displays identifier of the Color metric of the Bubble Chart visualizer.

See also:

EaxAnalyzer