Express > Express Assembly Interfaces > IEaxChart > IEaxChart.DrillSerie
DrillSerie(Index: Integer; [DrillType: EaxDrillType = 1]);
Index. Series index.
DrillType. Data drilldown method.
The DrillSerie method drills down data 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 if 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 UiErAnalyzer1. The express report must contain at least one data series.
The 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;
Chart: IEaxChart;
Begin
Expr := UiErAnalyzer1.Instance As IEaxAnalyzer;
Chart := Expr.Chart;
If Chart.SerieDrillable(0) Then
Chart.DrillSerie(0);
End If;
End Sub Button1OnClick;
Clicking the button drills down data by the first series of an express report if drilldown is available.
See also: