Express > Express Assembly Interfaces > IEaxVisualizer > IEaxVisualizer.IndicatorCount
IndicatorCount: Integer;
The IndicatorCount property returns the number of visualizer metrics.
Metrics enable the user to control visualizer characteristics. For example, the used font color is selected depending on the metric value.
Executing the example requires that the repository contains an express report with the EXPRESS_REPORT identifier, which must contain visualizers: bubble tree and tree map.
Add links to the Express, Metabase, Visualizators system assemblies.
Sub UserProc;
Var
Metabase: IMetabase;
EaxAnalyzer: IEaxAnalyzer;
TM: IEaxVisualizer;
BT: IEaxVisualizer;
I, K: Integer;
Begin
// Get repository
Metabase := MetabaseClass.Active;
// Get express report
EaxAnalyzer := Metabase.ItemById("EXPRESS_REPORT").Edit As IEaxAnalyzer;
// Get tree map from express report
TM := EaxAnalyzer.TreeMap;
// Display the number of tree map metrics in the console window
I := TM.IndicatorCount;
Debug.WriteLine("Number of tree map metrics = " + i.ToString);
// Get bubble tree from express report
BT := EaxAnalyzer.BubbleTree;
// Display the number of bubble tree metrics in the console window
Debug.WriteLine("Number of bubble tree metrics = " + k.ToString);
End Sub UserProc;
After executing the example the console window displays the number of tree map and bubble tree metrics.
See also: