IVZSizeLegendMarker.BigImage

Syntax

BigImage: IVZResourceImage;

Description

The BigImage property determines an icon for size legend maximum value.

Example

Executing the example requires that the repository contains an express report with the EXPRESS identifier. A data source and the Bubble Tree visualizer should be selected in express report to display data.

Add links to the Express, Metabase, Visualizators system assemblies.

Sub UserProc;
Var
    Metabase: IMetabase;
    Analyzer: IEaxAnalyzer;
    BubbleTree: IVZBubbleTree;
    SizeLegend: IVZSizeLegend;
    LegendMarker: IVZSizeLegendMarker;
    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 scale
    SizeLegend := BubbleTree.Legends.Item(1As IVZSizeLegend;
    
// Get legend markers
    LegendMarker := SizeLegend.Marker;
    
// Set markers
    LegendMarker.BigImage := New VZResourceImage.Create;
    LegendMarker.SmallImage := 
New VZResourceImage.Create;
    LegendMarker.Marker := VisualizatorSizeMarkerShape.Custom;
    
// Set maximum value icon
    BigImage := LegendMarker.BigImage;
    BigImage.ResourceId := VisualizersResourceId.SizeLegendArrowBig;

    // Set minimum value icon
    SmallImage := LegendMarker.SmallImage;
    SmallImage.ResourceId := VisualizersResourceId.SizeLegendCubeSmall;

    
// Save changes to express report
    (Analyzer As IMetabaseObject).Save;
End Sub UserProc;

After executing the example, bubble tree size legend icons are changed in the express report:

See also:

IVZSizeLegendMarker