IBubbleChart.AxisX

Fore Syntax

AxisX: IBubbleChartAxisLinear;

Fore.NET Syntax

AxisX: Prognoz.Platform.Interop.Chart.IBubbleChartAxisLinear;

Description

The AxisX property returns various parameters of the X axis of a bubble chart.

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;
    AxisX, AxisY: IBubbleChartAxisLinear;
Begin
    MB := MetabaseClass.Active;
    Eax := MB.ItemById("EXPRESS_REPORT").Edit As IEaxAnalyzer;
    Bubble := Eax.BubbleChart.Chart;
    //Axes
    AxisX := Bubble.AxisX;
    AxisY := Bubble.AxisY;
    //X axis parameters
    AxisX.AutoMinMax := False;
    AxisX.Min := -15;
    AxisX.Max := 15;
    AxisX.AxisLineColor := GxColor.FromName("Red");
    AxisX.AxisLineThickness := 2;
    AxisX.CrossValue := -4;
    AxisX.TickLineColor := GxColor.FromName("Red");
    AxisX.TickLineThickness := 10;
    AxisX.Caption.Text := "Acceleration";
    AxisX.ScaleType := BubbleChartAxisScaleType.Linear;
    //Y axis parameters
    AxisY.AutoMinMax := False;
    AxisY.Min := -15;
    AxisY.Max := 15;
    AxisY.AxisLineColor := GxColor.FromName("Red");
    AxisY.AxisLineThickness := 2;
    AxisY.CrossValue := -4;
    AxisY.TickLineColor := GxColor.FromName("Red");
    AxisY.TickLineThickness := 10;
    AxisY.Caption.Text := "Capacity";
    AxisY.ScaleType := BubbleChartAxisScaleType.Linear;
    (Eax As IMetabaseObject).Save;
End Sub UserProc;

After executing the example parameters of X and Y axes in the bubble chart are set up. The following parameters are set for the axes:

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;
    AxisX, AxisY: IBubbleChartAxisLinear;
    GxColorCls: GxColorClass = New GxColorClassClass();
Begin
    MB := Params.Metabase;
    Eax := MB.ItemById["EXPRESS_REPORT"].Edit() As IEaxAnalyzer;
    Bubble := Eax.BubbleChart.Chart;
    //Axes
    AxisX := Bubble.AxisX;
    AxisY := Bubble.AxisY;
    //X axis parameters
    AxisX.AutoMinMax := False;
    AxisX.Min := -11;
    AxisX.Max := 11;
    AxisX.AxisLineColor := GxColorCls.FromName("Green");
    AxisX.AxisLineThickness := 1;
    AxisX.CrossValue := -4;
    AxisX.TickLineColor := GxColorCls.FromName("Red");
    AxisX.TickLineThickness := 10;
    AxisX.Caption.Text := "Acceleration";
    AxisX.ScaleType := BubbleChartAxisScaleType.bcastLinear;
    //Y axis parameters
    AxisY.AutoMinMax := False;
    AxisY.Min := -11;
    AxisY.Max := 11;
    AxisY.AxisLineColor := GxColorCls.FromName("Blue");
    AxisY.AxisLineThickness := 1;
    AxisY.CrossValue := -4;
    AxisY.TickLineColor := GxColorCls.FromName("Red");
    AxisY.TickLineThickness := 10;
    AxisY.Caption.Text := "Capacity";
    AxisY.ScaleType := BubbleChartAxisScaleType.bcastLinear;
    (Eax As IMetabaseObject).Save();
End Sub;

After executing the example parameters of X and Y axes in the bubble chart are set up. The following parameters are set for the axes:

See also:

IBubbleChart