IEaxChart.Chart

Fore Syntax

Chart: IChart;

Fore.NET Syntax

Chart: Prognoz.Platform.Interop.Chart.IChart;

Description

The Chart property returns object that contains parameters of express report chart displaying.

Fore Example

Sub UserProc;
Var
    MB: IMetabase;
    MObj: IMetabaseObject;
    Expr: IEaxAnalyzer;
    EChart: IEaxChart;
    Chart: IChart;
Begin
    MB := MetabaseClass.Active;
    MObj := MB.ItemById(
"EXPRESS_REPORT").Edit;
    Expr := MObj 
As IEaxAnalyzer;
    EChart := Expr.Chart;
    Chart := EChart.Chart;
    Chart.Caption.Text := 
"Express report chart";
    MObj.Save;
End Sub UserProc;

After executing the example, text of the express report chart header is changed. Express report identifier - EXPRESS_REPORT.

Fore.NET Example

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

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

After executing the example, text of the express report chart header is changed. Express report identifier - EXPRESS_REPORT.

See also:

IEaxChart