RemoveAllSeries;
RemoveAllSeries();
The RemoveAllSeries method removes all the series from the summary statistics calculation set.
After executing the example the IEmStatisticsSettings.SerieCount property is set to 0.
To execute the example, add a link to the Modeller system assembly.
Example is a procedure that contains one input parameter Sett that is an object that determines Summary Statistics Calculation method parameters.
Sub RmAll(Sett: IEmStatisticsSettings);
Var
ExprMod: IExpressModeller;
Serie: IEmSerie;
Begin
ExprMod := Sett.Modeller;
If (ExprMod.Series.Count > 0) And (Sett.SerieCount > 0) Then
Sett.RemoveAllSeries;
Serie := ExprMod.Series.Item(0);
Sett.Add(Serie);
ExprMod.EvaluateMethod("C:\Statistics.html", Sett, True);
End If;
End Sub RmAll;
Example execution result: the summary statistics calculation set contains only the first series of the express modeling source data. The summary statistics calculation report is output to the C:\Statistics.html file.
Example is a procedure that contains one input parameter Sett that is an object that determines Summary Statistics Calculation method parameters.
Imports Prognoz.Platform.Interop.Modeller;
…
Public Shared Sub RmAll(Sett: IEmStatisticsSettings);
Var
ExprMod: IExpressModeller;
Serie: IEmSerie;
Begin
ExprMod := Sett.Modeller;
If (ExprMod.Series.Count > 0) And (Sett.SerieCount > 0) Then
Sett.RemoveAllSeries();
Serie := ExprMod.Series.Item[0];
Sett.Add(Serie);
ExprMod.EvaluateMethod("C:\Statistics.html", Sett, True);
End If;
End Sub RmAll;
Example execution result: the summary statistics calculation set contains only the first series of the express modeling source data. The summary statistics calculation report is output to the C:\Statistics.html file.
See also: