Chart: IChart;
Chart: Prognoz.Platform.Interop.Chart.IChart;
The Chart property returns object that contains parameters of express report chart displaying.
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.
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: