IEaxChart.GetSerieTabRange

Syntax

GetSerieTabRange(SerieIndex: Integer): ITabRange;

Parameters

SerieIndex. Data series index.

Description

The GetSerieTabRange property returns cell range based on which a specified series is created.

Example

Executing the example requires a form, a button with the Button1 identifier on the form, the ChartBox, TabSheetBox  components and the UiErAnalyzer component with the UiErAnalyzer1 identifier 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:

IEaxChart