Show contents 

Express > Express Assembly Interfaces > IEaxChart > IEaxChart.DrillSerie

IEaxChart.DrillSerie

Syntax

DrillSerie(Index: Integer; [DrillType: EaxDrillType = 1]);

Parameters

Index. Series index.

DrillType. Data drilldown method.

Description

The DrillSerie method drills down data by the chart series.

Comments

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.

Example

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(0Then
        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:

IEaxChart