IEaxChart.DrillPoint

Syntax

DrillPoint(SerieIndex: Integer; PointIndex: Integer; DrillType: EaxDrillType; DimKey: Integer);

Parameters

SerieIndex. Series index.

PointIndex. Index of series point.

DrillType. Data drilldown method.

DimKey. Key of express report dimension.

Description

The DrillPoint method performs the data drilldown by the chart series point.

Comments

Use the IEaxChart.IsPointDrillable method to check, whether data can be drilled down by a chart point.

Example

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(00, EaxDrilltype.Down) Then
        Chart.DrillPoint(00, 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.

See also:

IEaxChart