IEaxChart.PointChartMode

Fore Syntax

PointChartMode: EaxPointChartMode;

Fore.NET Syntax

PointChartMode: Prognoz.Platform.Interop.Express.EaxPointChartMode;

Description

The PointChartMode property determines data transfer method when creating a scatter chart. This property is available only when using Fore. Default value is XYY.

Fore Example

Sub UserProc;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Expr: IEaxAnalyzer;
    EChart: IEaxChart;
    Rect1: IGxRect;
Begin
    MB := MetabaseClass.Active;
    MObj := MB.ItemById(
"EXPRESS_REPORT").Edit;
    Expr := MObj 
As IEaxAnalyzer;
    Expr.UseGridSelection := 
True;
    EChart := Expr.Chart;
    EChart.Chart.Type := ChartType.Points;
    EChart.PointChartMode := EaxPointChartMode.YXYX;
    Rect1 := 
New GxRect.Create(11210);
    EChart.Range := Rect1;
    MObj.Save;
End Sub UserProc;

After executing this example, the B0:C10 cell range becomes selected and a chart is plotted based on this cell range. The chart is a scatter type chart, data transfer method is YXYX. Express report identifier - EXPRESS_REPORT.

Fore.NET Example

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

Public Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Expr: IEaxAnalyzer;
    EChart: IEaxChart;
    Rect1: GxRect = New GxRectClass();
Begin
    MB := Params.Metabase;
    MObj := MB.ItemById["EXPRESS_REPORT"].Edit();
    Expr := MObj As IEaxAnalyzer;
    Expr.UseGridSelection := True;
    EChart := Expr.Chart;
    EChart.Chart.Type := ChartType.chtPoints;
    EChart.PointChartMode := EaxPointChartMode.ecmYXYX;
    Rect1.Create(11210);
    EChart.Range := Rect1;
    MObj.Save();
End Sub;

After executing this example, the B0:C10 cell range becomes selected and a chart is plotted based on this cell range. The chart is a scatter type chart, data transfer method is YXYX. Express report identifier - EXPRESS_REPORT.

See also:

IEaxChart