IEmStatisticsSettings.RemoveAllSeries

Fore syntax

RemoveAllSeries;

Fore.NET syntax

RemoveAllSeries();

Description

The RemoveAllSeries method removes all the series from the summary statistics calculation set.

Comments

After executing the example the IEmStatisticsSettings.SerieCount property is set to 0.

Fore example

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 > 0And (Sett.SerieCount > 0Then
        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.

Fore example

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 > 0And (Sett.SerieCount > 0Then
        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:

IEmStatisticsSettings