IncreaseLag;
The IncreaseLag method increases lag of a selected series.
The ILanerBox.CanIncreaseLag property returns whether series lag can be increased.
Executing the example requires a form with a button named Button1 on the form, the LanerBox component named LanerBox1, and the UiErAnalyzer component used as a data source for LanerBox. The workbook of the time series database should be loaded to UiErAnalyzer.
This procedure should be assigned as a handler of the OnClick event for the button. The example is executed on clicking the button.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Can: Boolean;
Begin
Can := LanerBox1.CanIncreaseLag;
If Can Then
LanerBox1.IncreaseLag;
End If;
End Sub Button1OnClick;
After executing the example lag of the selected series is increased if possible.
See also: