Point: IChartSeriePoint;
The Point property returns parameters of a chart series point.
This property returns parameters of the point, for which the IEaxAnalyzeCore.DrillPoint method was executed.
Executing the example requires a form with the Button1 button, the ChartBox component named ChartBox1, and the UiErAnalyzer component named UiErAnalyzer, that is a source for ChartBox1. Express report connected in UiErAnalyzer1 must contain at least one data series.
This procedure is a handler of the OnClick event for the Button1 button. The example is executed on clicking the button.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Expr: IEaxAnalyzer;
Serie: IChartSerie;
Series: IChartSeries;
EaxChart: IEaxChart;
Chart: IChart;
Point: IChartSeriePoint;
DrillPoint: IEaxDrillPointResult;
Begin
Expr := UiErAnalyzer1.ErAnalyzer;
EaxChart := Expr.Chart;
Chart := EaxChart.Chart;
Series := Chart.Series;
Serie := Series.Item(0);
Point := Serie.SeriePoint(0);
DrillPoint := Expr.DrillPoint(Point);
DrillPoint.Point.Selected := True;
End Sub Button1OnClick;
After executing the example, the series point is selected, for which the IEaxAnalyzeCore.DrillPoint method was executed.
See also: