IEaxChart.GetSerieTabRange

Fore Syntax

GetSerieTabRange(SerieIndex: Integer): ITabRange;

Fore.NET Syntax

GetSerieTabRange[SerieIndex: Integer]: Prognoz.Platform.Interop.Tab.ITabRange;

Parameters

SerieIndex. Data series index.

Description

The property is read-only.

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

Fore Example

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.

Fore.NET Example

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:

IEaxChart