ILanerBox.DecreaseLag

Syntax

DecreaseLag;

Description

The DecreaseLag method decreases lag of a selected series.

Comments

The ILanerBox.CanDecreaseLag property indicates whether the series lag can be decreased.

Example

Executing this example requires a form a button named Button1 positioned on this form, the LanerBox component named LanerBox1, and the UiErAnalyzer component used as a data source for LanerBox. The workbook of the time series database is to be loaded to the UiErAnalyzer.

This procedure is to be assigned as a handler of the OnClick event for this button. The example is executed on clicking the button.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    Can: Boolean;
Begin
    Can := LanerBox1.CanDecreaseLag;
    If Can Then
        LanerBox1.IDecreaseLag;
    End If;
End Sub Button1OnClick;

After executing this example lag of the selected series is decreased  if possible.

See also:

ILanerBox