IBubbleChart.GraphArea

Fore Syntax

GraphArea: IBubbleChartGraphArea;

Fore.NET Syntax

GraphArea: Prognoz.Platform.Interop.Chart.IBubbleChartGraphArea;

Description

The GraphArea property returns parameters of the matrix animation area.

Fore Example

Executing this example requires an express report with the EXPRESS_REPORT identifier. The express report is configured to ensure bubble chart displaying and operation.

Sub UserProc;
Var
    MB: IMetabase;
    Eax: IEaxAnalyzer;
    Bubble: IBubbleChart;
    GraphArea: IBubbleChartGraphArea;
    BackgroundInfo: IBubbleChartBackgroundInfo;
Begin
    MB := MetabaseClass.Active;
    Eax := MB.ItemById("EXPRESS_REPORT").Edit As IEaxAnalyzer;
    Bubble := Eax.BubbleChart.Chart;
    //Color scale of the bubble chart
    GraphArea := Bubble.GraphArea;
    GraphArea.BorderColor := GxColor.FromName("Red");
    GraphArea.BorderRadius := 50;
    GraphArea.BorderThickness := 5;
    GraphArea.Margin := New GxRectF.Create(50505050);
    //Background options
    BackgroundInfo := GraphArea.BackgroundInfo;
    BackgroundInfo.Type := BubbleChartBackgroundType.RadialGradient;
    BackgroundInfo.RadialGradientOrigin := New GxPointF.Create(00);
    BackgroundInfo.Color := GxColor.FromName("White");
    BackgroundInfo.GradientColor := GxColor.FromName("Blue");
    (Eax As IMetabaseObject).Save;
End Sub UserProc;

Parameters of the bubble chart animation area are configured after executing this example. Background and borders are defined for the area.

Fore.NET Example

Executing this example requires an express report with the EXPRESS_REPORT identifier. The express report is configured to ensure bubble chart displaying and operation. This procedure is an entry point for a .NET assembly.

Imports Prognoz.Platform.Interop.Chart;
Imports Prognoz.Platform.Interop.Drawing;
Imports Prognoz.Platform.Interop.Express;
Imports Prognoz.Platform.Interop.Metabase;

Public Shared Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    Eax: IEaxAnalyzer;
    Bubble: IBubbleChart;
    GraphArea: IBubbleChartGraphArea;
    BackgroundInfo: IBubbleChartBackgroundInfo;
    GxColorCls: GxColorClass = New GxColorClassClass();
    GradientOrigin: GxPointF = New GxPointFClass();
Begin
    MB := Params.Metabase;
    Eax := MB.ItemById["EXPRESS_REPORT"].Edit() As IEaxAnalyzer;
    Bubble := Eax.BubbleChart.Chart;
    //Color scale of the bubble chart
    GraphArea := Bubble.GraphArea;
    GraphArea.BorderColor := GxColorCls.FromName("Red");
    GraphArea.BorderRadius := 50;
    GraphArea.BorderThickness := 5;
    //Background options
    BackgroundInfo := GraphArea.BackgroundInfo;
    BackgroundInfo.Type := BubbleChartBackgroundType.bcbtRadialGradient;
    GradientOrigin.Create(00);
    BackgroundInfo.RadialGradientOrigin := GradientOrigin;
    BackgroundInfo.Color := GxColorCls.FromName("White");
    BackgroundInfo.GradientColor := GxColorCls.FromName("Blue");
    (Eax As IMetabaseObject).Save();
End Sub;

Parameters of the bubble chart animation area are configured after executing this example. Background and borders are defined for the area.

See also:

IBubbleChart