IVZBubbleChart.ShowBubbleHistory

Fore Syntax

ShowBubbleHistory: Boolean;

Fore.NET Syntax

ShowBubbleHistory: boolean;

Description

The ShowBubbleHistory property determines whether chart bubble movement history is displayed.

Comments

Available values:

Fore Example

Executing the example requires that the repository contains an express report with the EXPRESS identifier containing a bubble chart.

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

Sub UserProc;
Var
    MB: IMetabase;
    Express: IEaxAnalyzer;
    BC: IVZBubbleChart;
Begin
    // Get repository
    MB := MetabaseClass.Active;
    // Get express report
    Express := MB.ItemById("EXPRESS").Edit As IEaxAnalyzer;
    // Get bubble chart
    BC := Express.BubbleChart.BubbleChart;
    //Enable displaying of bubble movement history
    BC.ShowBubbleHistory := True;
    // Enable displaying of year tooltips
    BC.ShowBubbleHistoryLabels := True;
    // History is displayed on the mouse click on the bubble
    BC.ShowHistoryMode := VisualizatorHistoryModeEnum.Click;
    // Disable displaying of history on moving to the other year
    If BC.ShowHistoryPreviousStepsOnly Then
        BC.ShowHistoryPreviousStepsOnly := False;
    End If;
    // Refresh bubble chart and refresh report
    Express.BubbleChart.Refresh;
    (Express As IMetabaseObject).Save;
End Sub UserProc;

After executing the example in express report on the mouse click on any bubble chart bubble:

For example:

Fore.NET Example

The requirements and result of the Fore.NET example execution match with those in the Fore example.

Imports Prognoz.Platform.Interop.Express;
Imports Prognoz.Platform.Interop.Visualizators;

Public Shared Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    Express: IEaxAnalyzer;
    BC: IVZBubbleChart;
Begin
    // Get repository
    MB := Params.Metabase;
    // Get express report
    Express := MB.ItemById["EXPRESS"].Edit() As IEaxAnalyzer;
    // Get bubble chart
    BC := Express.BubbleChart.BubbleChart;
    //Enable displaying of bubble movement history
    BC.ShowBubbleHistory := True;
    // Enable displaying of year tooltips
    BC.ShowBubbleHistoryLabels := True;
    // History is displayed on the mouse click on the bubble
    BC.ShowHistoryMode := VisualizatorHistoryModeEnum.hmeClick;
    // Disable displaying of history on moving to the other year
    If BC.ShowHistoryPreviousStepsOnly Then
        BC.ShowHistoryPreviousStepsOnly := False;
    End If;
    // Refresh bubble chart and refresh report
    Express.BubbleChart.Refresh();
    (Express As IMetabaseObject).Save();
End Sub;

See also:

IVZBubbleChart