GetSerieTabRange(SerieIndex: Integer): ITabRange;
GetSerieTabRange[SerieIndex: Integer]: Prognoz.Platform.Interop.Tab.ITabRange;
SerieIndex. Data series index.
The property is read-only.
The GetSerieTabRange property returns cell range based on which a specified series is created.
Executing the example requires a form, a button with the identifier Button1 positioned on this form, the components ChartBox, TabSheetBox and the UiErAnalyzer component with the identifier UiErAnalyzer1, used as a data source.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
An: IEaxAnalyzer;
Chart: IEaxChart;
TabraG: ITabRange;
Begin
An := UiErAnalyzer1.ErAnalyzer;
Chart := An.Chart;
TabraG := Chart.GetSerieTabRange(0);
An.Grid.TabSheet.View.Selection.Range := TabraG;
End Sub Button1OnClick;
Executing this example selects cell range based on which the first chart series is created.
Executing the example requires a form, a button with the identifier Button1 positioned on this form, the components ChartBoxNet, TabSheetBoxNet and the UiErAnalyzerNet component with the identifier UiErAnalyzerNet1, used as a data source.
Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var
An: IEaxAnalyzer;
Chart: IEaxChart;
TabraG: ITabRange;
Begin
An := UiErAnalyzerNet1.ErAnalyzer;
Chart := An.Chart;
TabraG := Chart.GetSerieTabRange[0];
An.Grid.TabSheet.View.Selection.Range := TabraG;
End Sub;
After executing the example cell range, based on which the first chart series is created, is selected in data table.
See also: