DrillPoint(SerieIndex: Integer; PointIndex: Integer; DrillType: EaxDrillType; DimKey: Integer);
DrillPoint(SerieIndex: integer; PointIndex: integer; DrillType: Prognoz.Platform.Interop.Express.EaxDrillType; DimKey: uinteger);
SerieIndex. Series index.
PointIndex. Index of series point.
DrillType. Data drilldown method.
DimKey. Key of express report dimension.
The DrillPoint method performs the data drilldown by the chart series point.
Use the IEaxChart.IsPointDrillable method to check, whether data can be drilled down by a chart point.
Executing the example requires a form with the Button1 button on it, the UiErAnalyzer component named UiErAnalyzer1, and the ChartBox component, that displays chart of the express report, connected to the UiErAnalyzer1.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Expr: IEaxAnalyzer;
Chart: IEaxChart;
Begin
Expr := UiErAnalyzer1.Instance As IEaxAnalyzer;
Chart := Expr.Chart;
Chart.CorrectSerieIndex(0);
If Chart.IsPointDrillable(0, 0, EaxDrilltype.Down) Then
Chart.DrillPoint(0, 0, EaxDrilltype.Down, 0);
End If;
End Sub Button1OnClick;
On clicking the button it is checked, whether data can be drilled down for the specified chart point. The drilldown is performed if available.
Executing the example requires a .NET form with the Button1 button, the UiErAnalyzerNet component named UiErAnalyzerNet1 and the ChartBoxNet component, that displays map of the express report, connected to the UiErAnalyzerNet1.
Imports Prognoz.Platform.Interop.Chart;
Imports Prognoz.Platform.Interop.Express;
...
Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var
Expr: IEaxAnalyzer;
Chart: IEaxChart;
Begin
Expr := UiErAnalyzerNet1.AnalyzerUi.ErAnalyzer;
Chart := Expr.Chart;
Chart.CorrectSerieIndex(0);
If Chart.IsPointDrillable(0, 0, EaxDrilltype.edtDown) Then
Chart.DrillPoint(0, 0, EaxDrillType.edtDown, 0);
End If;
End Sub;
The result of Fore.NET Example is the same as the result of Fore Example.
See also: