IVZIntervalsLegend.Mode

Syntax

Mode: VisualizatorLegendMode;

Description

The Mode property determines whether the legend with intervals is shown.

Example

Executing the example requires that the repository contains an express report with the EXP identifier. The module containing the example should have links to Express, Metabase and Visualizators assemblies. The specified procedure should be called from the Main entry point.

Before executing the example, the bubble tree legend with intervals looks as shown on the IVZDataScale interface description page. Display only the intervals that have both borders:

Sub UserProc;
Var
    Metabase: IMetabase; // Metabase
    EaxAnalyzer: IEaxAnalyzer; // Express report
    BubbleTree: IVZBubbleTree; // Bubble tree
    Legend: IVZIntervalsLegend;// Scale of legend with intervals
Begin
    // Get metabase object
    Metabase := MetabaseClass.Active;
    // Open express report
    EaxAnalyzer := Metabase.ItemById("EXP").Edit As IEaxAnalyzer;
    // Get bubble tree
    BubbleTree := EaxAnalyzer.BubbleTree.BubbleTree;
    // Get legend    
    Legend := BubbleTree.Legends.Item(0As IVZIntervalsLegend;
    // Display only intervals that have borders 
    Legend.Mode := VisualizatorLegendMode.BetweenOnly;
    // Save changes made in express report
    (EaxAnalyzer As IMetabaseObject).Save;
End Sub UserProc;

After executing the example, the legend displays only the intervals that have both borders:

See also:

IVZIntervalsLegend