DrillPoint(Point: IChartSeriePoint): IEaxDrillPointResult;
DrillPoint(Point: Prognoz.Platform.Interop.Chart.IChartSeriePoint): Prognoz.Platform.Interop.Express.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.
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);
//Selection of 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 the Fore.NET example execution matches with that of the Fore example.
See also: