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 unit 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;
    EaxAnalyzer: IEaxAnalyzer;
    BubbleTree: IVZBubbleTree;
    Legend: IVZIntervalsLegend;
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 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