IEaxChart.DrillSerie

Syntax

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

Parameters

Index. Series index.

DrillType. Data drilldown method.

Description

The DrillSerie method performs the data drilldown 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, whether 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 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(0Then
        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.

See also:

IEaxChart