DrillPoint(Point: IChartSeriePoint): IEaxDrillPointResult;
Point. Data series point.
The DrillPoint method returns information about binding a data series point to data.
To get parameters of the data series point, for which the DrillPoint method was executed, use the IEaxDrillPointResult.Point property.
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.
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);
//Selection of 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 displays the number of dictionary selections in the cube used as a data source for the specified data series point.
See also: