DrillSerie(Index: Integer; [DrillType: EaxDrillType = 1]);
DrillSerie(Index: Integer; DrillType: Prognoz.Platform.Interop.Express.EaxDrillType);
Index. Series index.
DrillType. Data drilldown method.
The DrillSerie method performs the data drilldown by the chart series.
The DrillSerie method execution changes the last dimension selection, located in rows. Depending on the DrillType parameter value, child elements are selected in the dimension; the element with the parent element located on it or the element of the specified series is selected, and the dimension is moved into the fixed domain.
Use the IEaxChart.SerieDrillable property to check, whether data can be drilled down.
Executing the example requires a form with the Button1 button, the UiErAnalyzer component named UiErAnalyzer1 and the ChartBox component, that displays chart of the express report, connected to the UiErAnalyzer1. The express report must contain at least one data series.
This procedure is the OnClick event handler for the Button1 button. The example is executed on clicking the button.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Expr: IEaxAnalyzer;
Chart: IEaxChart;
Begin
Expr := UiErAnalyzer1.Instance As IEaxAnalyzer;
Chart := Expr.Chart;
If Chart.SerieDrillable(0) Then
Chart.DrillSerie(0);
End If;
End Sub Button1OnClick;
The data drilldown by the first series of an express report chart is performed on clicking the button, when drilldown is available.
Executing the example requires a .NET form with the Button1 button, the UiErAnalyzerNet component named UiErAnalyzerNet1 and the ChartBoxNet component, that displays chart of the express report, connected to the UiErAnalyzerNet1. The express report 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.Forms.Net;
Imports Prognoz.Platform.Interop.Express;
Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var
Expr: IEaxAnalyzer;
Chart: IEaxChart;
Begin
Expr := UiErAnalyzerNet1.AnalyzerUi.Instance As IEaxAnalyzer;
Chart := Expr.Chart;
If Chart.SerieDrillable[0, EaxDrillType.edtDown] Then
Chart.DrillSerie(0, EaxDrillType.edtDown);
End If;
End Sub;
The result of the Fore.NET Example matches with that of the Fore Example.
See also: