Index: Integer;
The Index property determines data display index.
Executing the example requires that the repository contains an express report with the EXP identifier.
Add links to the Express, Metabase, Visualizators system assemblies.
Sub UserProc;
Var
Metabase: IMetabase; // Repository
EaxAnalyzer: IEaxAnalyzer; // Express report
BubbleTree: IVZBubbleTree; // Bubble tree
DataVisual: IVZDataVisual; // Color visualizer
DataMappingName: String; // Data mapping name
Begin
// Get repository
Metabase := MetabaseClass.Active;
// Open express report
EaxAnalyzer := Metabase.ItemById("EXP").Edit As IEaxAnalyzer;
// Get bubble tree
BubbleTree := EaxAnalyzer.BubbleTree.BubbleTree;
// Get color visualizer
DataVisual := BubbleTree.ColorVisual;
// Set index
DataVisual.Index := 1;
// Set data mapping name
DataMappingName := "ColorMapping";
End Sub UserProc;
After executing the example color visualizer index is changed, a new data mapping name is set.
See also: