Point: IChartSeriePoint;
Point: Prognoz.Platform.Interop.Chart.IChartSeriePoint;
The Point property returns parameters of a chart series point.
This property returns parameters of the point, for which the IEaxAnalyzer.DrillPoint method has been performed.
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 point, for which the IEaxAnalyzer.DrillPoint has been performed, is selected.
Executing the example requires the button1 button, the ChartBoxNet component named ChartBoxNet1, and the UiErAnalyzerNet component named UiErAnalyzerNet1, that is a source for ChartBoxNet1. The express report connected to the UiErAnalyzerNet1 must contain at least one data series.
This procedure is the Click event handler for the button1 button. The example is executed on clicking the button.
Imports Prognoz.Platform.Interop.Express;
Imports Prognoz.Platform.Interop.Chart;
...
Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var
Expr: IEaxAnalyzer;
Serie: IChartSerie;
Series: IChartSeries;
EaxChart: IEaxChart;
Chart: IChart;
Point: IChartSeriePoint;
DrillPoint: IEaxDrillPointResult;
Begin
Expr := UiErAnalyzerNet1.ErAnalyzer.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;
The result of Fore.NET Example is the same as the result of Fore Example.
See also: