IBubbleChart.Series

Fore Syntax

Series: IBubbleChartSeries;

Fore.NET Syntax

Series: Prognoz.Platform.Interop.Chart.IBubbleChartSeries;

Description

The Series property returns series parameters.

Fore Example

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

Sub UserProc;
Var
    MB: IMetabase;
    Eax: IEaxAnalyzer;
    Bubble: IBubbleChart;
    Serie: IBubbleChartSerie;
    BackgroundInfo: IBubbleChartBackgroundInfo;
Begin
    MB := MetabaseClass.Active;
    Eax := MB.ItemById("EXPRESS_REPORT").Edit As IEaxAnalyzer;
    Bubble := Eax.BubbleChart.Chart;
    //Series
    Serie := Bubble.Series.Item(0);
    Serie.BorderColor := GxColor.FromName("Yellow");
    Serie.BorderThickness := 1;
    Serie.MarkerType := BubbleChartMarkerType.Diamond;
    //Background
    BackgroundInfo := Serie.BackgroundInfo;
    BackgroundInfo.Type := BubbleChartBackgroundType.Color;
    BackgroundInfo.Color := GxColor.FromName("Green");
    (Eax As IMetabaseObject).Save;
End Sub UserProc;

Executing the example changes parameters of the first series, change dynamics of which is shown in the bubble chart. Color and border width, as well as diamond shape are determined for the bubble of the first series.

Fore.NET Example

Executing the example requires an express report with the EXPRESS_REPORT identifier. The express report is set up to ensure bubble chart displaying and operation. The specified 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;
    Serie: IBubbleChartSerie;
    BackgroundInfo: IBubbleChartBackgroundInfo;
    GxColorCls: GxColorClass = New GxColorClassClass();
Begin
    MB := Params.Metabase;
    Eax := MB.ItemById["EXPRESS_REPORT"].Edit() As IEaxAnalyzer;
    Bubble := Eax.BubbleChart.Chart;
    //Series
    Serie := Bubble.Series.Item[0];
    Serie.BorderColor := GxColorCls.FromName("Yellow");
    Serie.BorderThickness := 5;
    Serie.MarkerType := BubbleChartMarkerType.bcmtDiamond;
    //Background
    BackgroundInfo := Serie.BackgroundInfo;
    BackgroundInfo.Type := BubbleChartBackgroundType.bcbtColor;
    BackgroundInfo.Color := GxColorCls.FromName("Green");
    (Eax As IMetabaseObject).Save();
End Sub;

Executing the example changes parameters of the first series, change dynamics of which is shown in the bubble chart. Color and border width, as well as diamond shape are determined for the bubble of the first series.

See also:

IBubbleChart