ShowBubbleHistory: Boolean;
ShowBubbleHistory: boolean;
The ShowBubbleHistory property determines whether chart bubble movement history is displayed.
Available values:
True. Chart bubble movement history is displayed.
False. Default. Chart bubble movement history is not displayed.
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 moving history
BC.ShowBubbleHistory := True;
// Enable displaying of year tooltip
BC.ShowBubbleHistoryLabels := True;
// Disable possibility to change chart zoom
BC.UseZoomOnWheel := False;
// Display history on clicking 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;
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 moving history
BC.ShowBubbleHistory := True;
// Enable displaying of year tooltip
BC.ShowBubbleHistoryLabels := True;
// Disable possibility to change chart zoom
BC.UseZoomOnWheel := False;
// Display history on clicking 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;
After executing the example in express report on the mouse click on any bubble chart bubble:
Bubble movement history is displayed.
Year tooltips are displayed in history of all series bubbles.
For example:
See also: