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;
EaxAnalyzer: IEaxAnalyzer;
BubbleTree: IVZBubbleTree;
DataVisual: IVZDataVisual;
DataMappingName: String;
Begin
// Get the current repository
Metabase := MetabaseClass.Active;
// Get 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: