IEaxChart.SeriesInRows

Fore Syntax

SeriesInRows: Boolean;

Fore.NET Syntax

SeriesInRows: Boolean;

Description

The SeriesInRows property determines in what way the data series are to be obtained. If this property is set to True, data series are obtained by rows. If this property is set to False, data series are obtained by columns.

Fore Example

Executing the example requires that the repository contains an express report with the EXPRESS_REPORT identifier.

Sub UserProc;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Expr: IEaxAnalyzer;
    EChart: IEaxChart;
Begin
    MB := MetabaseClass.Active;
    MObj := MB.ItemById(
"EXPRESS_REPORT").Edit;
    Expr := MObj 
As IEaxAnalyzer;
    EChart := Expr.Chart 
As IEaxChart;
    EChart.SeriesInRows := 
False;
    MObj.Save;
End Sub UserProc;

After executing this example, data series are extracted by columns when creating an express report chart.

Fore.NET Example

Executing the example requires that the repository contains an express report with the EXPRESS_REPORT identifier.

Imports Prognoz.Platform.Interop.Metabase;
Imports Prognoz.Platform.Interop.Express;

Public Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Expr: IEaxAnalyzer;
    EChart: IEaxChart;
Begin
    MB := Params.Metabase;
    MObj := MB.ItemById["EXPRESS_REPORT"].Edit();
    Expr := MObj As IEaxAnalyzer;
    EChart := Expr.Chart As IEaxChart;
    EChart.SeriesInRows := False;
    MObj.Save();
End Sub;

After executing this example, data series are extracted by columns when creating an express report chart.

See also:

IEaxChart