SeriesLimit: Integer;
SeriesLimit: Integer;
The SeriesLimit property determines maximum number of series that can be displayed on a chart.
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;
EChart.SeriesLimit := 150;
MObj.Save;
End Sub UserProc;
After executing this example the maximum number of displayed series is set to 150 for the express report chart. Express report identifier - EXPRESS_REPORT.
Imports Prognoz.Platform.Interop.Metabase;
Imports Prognoz.Platform.Interop.Express;
Public Sub UserProc(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;
EChart.SeriesLimit := 150;
MObj.Save();
End Sub;
After executing this example the maximum number of displayed series is set to 150 for the express report chart. Express report identifier - EXPRESS_REPORT.
See also: