PointChartMode: EaxPointChartMode;
The PointChartMode property determines data transfer method when creating a scatter chart. This property is available only when using Fore. Default value is XYY.
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(1, 1, 2, 10);
EChart.Range := Rect1;
MObj.Save;
End Sub UserProc;
After executing the 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: