IEaxAnalyzeCore.BubbleChart

Syntax

BubbleChart: IEaxBubbleChart;

Description

The BubbleChart property returns the object containing express report bubble chart.

Comments

A bubble chart enables the user to view indicators change as an animated chart. The chart series are represented as bubbles, which motion shows the change of series values.

Example

Executing the example requires an express report with the EXPRESS_REPORT identifier. Dimensions of the express report data source are based on the following dictionaries:

Sub UserProc;
Var
    MB: IMetabase;
    Eax: IEaxAnalyzer;
    Pivot: IPivot;
    Selection: IDimSelectionSet;
    IDim, ODim, TimeDim: IDimSelection;
    Bubble: IEaxBubbleChart;
Begin
    MB := MetabaseClass.Active;
    Eax := MB.ItemById("EXPRESS_REPORT").Edit As IEaxAnalyzer;
    Pivot := Eax.Pivot;
    Selection := Pivot.Selection;
    //Search for dimensions
    IDim := Selection.FindById("D_Indicators");
    ODim := Selection.FindById("D_Map");
    TimeDim := Selection.FindById("Calendar");
    //Reset dimensions positions
    Pivot.LeftHeader.Clear;
    Pivot.TopHeader.Clear;
    //Check the first territory
    ODim.SelectElement(0False);
    //Select elements of the first calendar level
    TimeDim.SelectSiblings(0);
    //Set up bubble chart parameters
    //Determine changes
    Bubble := Eax.BubbleChart;
    //Activate bubble chart
    Bubble.Active := True;
    //Set up dimensions
    Bubble.IndicatorsDim := IDim.Dimension;
    Bubble.ObjectivesDim := ODim.Dimension;
    Bubble.TimeLineDim := TimeDim.Dimension;
    //Determine elements used for value selection for bubble chart dimensions
    Bubble.IndicatorElement(BubbleChartDimension.X) := 0;
    Bubble.IndicatorElement(BubbleChartDimension.Y) := 1;
    Bubble.IndicatorElement(BubbleChartDimension.Radial) := 2;
    Bubble.IndicatorElement(BubbleChartDimension.Color) := 3;
    //Save changes
    (Eax As IMetabaseObject).Save;
End Sub UserProc;

After executing the example express report for bubble chart is set up. The required location of dimensions is specified in express report and the required selection is specified by dimensions. Dimensions are specified and elements are determined for the bubble chart, which values are used to form the bubbles motion dynamics.

See also:

IEaxAnalyzeCore