Marker: VisualizatorSizeMarkerShape;
The Marker property determines a shape used as a size legend marker.
Executing the example requires that the repository contains an express report with the EXPRESS identifier. The Size metric type is set in the report for a bubble tree.
Add links to the Metabase, Express, Visualizators system assemblies.
Sub UserProc;
Var
Metabase: IMetabase;
Analyzer: IEaxAnalyzer;
BubbleTree: IVZBubbleTree;
SizeLegend: IVZSizeLegend;
LegendMarker: IVZSizeLegendMarker;
Style: IVZControlStyle;
BigImage, SmallImage: IVZResourceImage;
Begin
// Get repository
Metabase := MetabaseClass.Active;
// Get express report
Analyzer := Metabase.ItemById("EXPRESS").Edit As IEaxAnalyzer;
// Get bubble tree
BubbleTree := Analyzer.BubbleTree.BubbleTree;
// Get size legend
SizeLegend := BubbleTree.Legends.Item(1) As IVZSizeLegend;
// Set marker as a trapezoid
LegendMarker := SizeLegend.Marker;
LegendMarker.Marker := VisualizatorSizeMarkerShape.Trapezoid;
// Save changes made in express report
(Analyzer As IMetabaseObject).Save;
End Sub UserProc;
After executing the example, the size legend marker shape is changed to trapezoid:
See also: