IBubbleChart.ColorAxis

Fore Syntax

ColorAxis: IBubbleChartAxis;

Fore.NET Syntax

ColorAxis: Prognoz.Platform.Interop.Chart.IBubbleChartAxis;

Description

The ColorAxis property returns parameters of bubble chart color scale.

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;
    ColorAxis: IBubbleChartAxis;
Begin
    MB := MetabaseClass.Active;
    Eax := MB.ItemById("EXPRESS_REPORT").Edit As IEaxAnalyzer;
    Bubble := Eax.BubbleChart.Chart;
    //Color scale of bubble chart
    ColorAxis := Bubble.ColorAxis;
    ColorAxis.AutoMinMax := False;
    ColorAxis.Min := 100;
    ColorAxis.Max := 200;
    ColorAxis.ScaleType := BubbleChartAxisScaleType.Uniform;
    (Eax As IMetabaseObject).Save;
End Sub UserProc;

Executing the example sets up parameters of the bubble chart color scale.

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.Express;
Imports Prognoz.Platform.Interop.Metabase;

Public Shared Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    Eax: IEaxAnalyzer;
    Bubble: IBubbleChart;
    ColorAxis: IBubbleChartAxis;
Begin
    MB := Params.Metabase;
    Eax := MB.ItemById["EXPRESS_REPORT"].Edit() As IEaxAnalyzer;
    Bubble := Eax.BubbleChart.Chart;
    //Color scale of bubble chart
    ColorAxis := Bubble.ColorAxis;
    ColorAxis.AutoMinMax := False;
    ColorAxis.Min := 100;
    ColorAxis.Max := 200;
    ColorAxis.ScaleType := BubbleChartAxisScaleType.bcastUniform;
    (Eax As IMetabaseObject).Save();
End Sub;

Executing the example sets up parameters of the bubble chart color scale.

See also:

IBubbleChart