ILanerSorterData.Clear

Syntax

Clear;

Description

The Clear method resets sorting based on values of time series observations.

Comments

After executing the method the ILanerSorterData.Count property is set to zero.

Example

Executing the example requires a form with the LanerBox component and the UiErAnalyzer component with the UiErAnalyzer1 identifier that is a data source for LanerBox. Workbook of the time series database must be loaded to UiErAnalyzer1.

Sub UserProc;
Var
    Laner: ILaner;
    Ls: ILanerSorter;
    DataSort: ILanerSorterData;
Begin
    Laner := UiErAnalyzer1.ErAnalyzer.Laner;
    Ls := Laner.Sorter;
    DataSort := Ls.SeriesDataSort;
    If DataSort.Count > 0 Then
        DataSort.Clear;
    End If;
End Sub UserProc;

Example execution result: if the workbook was sorted on values of time series observations the sorting is cleared.

See also:

ILanerSorterData