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 following components: the Button component named Button1, the LanerBox component named LanerBox1, and the UiErAnalyzer component named UiErAnalyzer1. UiErAnalyzer1 is a data source for LanerBox1. A workbook of the time series database should be loaded to UiErAnalyzer1. Before executing the example select one series in the LanerBox1 component.

Add links to the Laner system assembly.

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