Express > Express Assembly Interfaces > IEaxChart > IEaxChart.GetSerieTabRange
GetSerieTabRange(SerieIndex: Integer): ITabRange;
SerieIndex. Data series index.
The GetSerieTabRange property returns cell range based on which a specified series is created.
Executing the example requires a form, a button named Button1 on the form, and the following components: ChartBox, TabSheetBox components and the UiErAnalyzer component named 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;
After executing the example, a cell range in the data table is selected, based on which the first chart series is created.
See also: