IEaxAnalyzer.DrillPoint

Fore Syntax

DrillPoint(Point: IChartSeriePoint): IEaxDrillPointResult;

Fore.NET Syntax

DrillPoint(Point: Prognoz.Platform.Interop.Chart.IChartSeriePoint): Prognoz.Platform.Interop.Express.IEaxDrillPointResult;

Parameters

Point. Point of the data series.

Description

The DrillPoint method returns information on connection of a data series point to data.

Comments

To get parameters of the data series point, for which the DrillPoint method was performed, use the IEaxDrillPointResult.Point property.

Fore Example

To execute the example, place the UiErAnalyzer component with the UiErAnalyzer identifier and a button with the Button1 identifier on the form. Add link to the Dimensions system assembly.

The example is a handler of the event for the Button1 button.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Expr: IEaxAnalyzer;
    Point: IChartSeriePoint;
    DrillPoint: IEaxDrillPointResult;
    DimSelection: IDimSelectionSet;
Begin
    Expr := UiErAnalyzer1.Instance As IEaxAnalyzer;
    Point := Expr.Chart.Chart.Series.Item(0).SeriePoint(0);
    DrillPoint := Expr.DrillPoint(Point);
    //Selecting data sources
    If DrillPoint <> Null Then
        DimSelection := DrillPoint.Selection;
        Debug.WriteLine("Dimensions in selection: " + DimSelection.Count.ToString);
    End If;
End Sub Button1OnClick;

Click the button. The console window shows the number of dictionary selections in the cube used as a data source for the specified data series point.

Fore.NET Example

To execute the example, place the UiErAnalyzer component with the UiErAnalyzer identifier and a button with the Button1 identifier on the form. Add a link to the Dimensions system assembly.

The example is a handler of the event for the button1 button.

Imports Prognoz.Platform.Interop.Express;
Imports Prognoz.Platform.Interop.Chart;
Imports Prognoz.Platform.Interop.Dimensions;
...
Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var
    Expr: IEaxAnalyzer;
    Point: IChartSeriePoint;
    DrillPoint: IEaxDrillPointResult;
    DimSelection: IDimSelectionSet;
Begin
    Expr := uiErAnalyzerNet1.AnalyzerUi.Instance As IEaxAnalyzer;
    Point := Expr.Chart.Chart.Series.Item[0].SeriePoint[0];
    DrillPoint := Expr.DrillPoint(Point);
    //Selecting data sources
    If DrillPoint <> Null Then
        DimSelection := DrillPoint.Selection;
        System.Diagnostics.Debug.WriteLine(Dimensions in selection: " + DimSelection.Count.ToString());
    End If;
End Sub;

The result of Fore.NET Example is the same as the result of Fore Example.

See also:

IEaxAnalyzer