SetDefault;
The SetDefault method resets all additional parameters of series data displaying.
Executing the example requires a form with the Button1 button, the LanerBox component with the LanerBox1 identifier and the UiErAnalyzer component used as a data source for LanerBox. Workbook of the time series database must be loaded to UiErAnalyzer.
Click the button to start executing this example.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
i: Integer;
Serie: ILanerSerie;
DisplayParams: ILanerSerieDisplayParams;
Begin
For i := 0 To LanerBox1.SelectedSeriesCount - 1 Do
Serie := LanerBox1.SelectedSeries(i);
DisplayParams := Serie.DisplayParams;
DisplayParams.SetDefault;
End For;
LanerBox1.ExecuteOperation(LanerBoxOperation.Refresh);
End Sub Button1OnClick;
After executing the example, displaying of initial values is set for all series, selected in the LanerBox component.
See also: