ILanerCalculateSerie.DisplayDataAs

Syntax

DisplayDataAs: LnDataDisplayType;

Description

The DisplayDataAs property determines a mode of displaying values for calculated series.

Comments

The displaying mode is determined by the value of the LnDataDisplayType enumeration:

To select the mode of the whole workbook displaying use ILaner.DisplayDataAs.

Example

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 that contains the data series must be loaded to UiErAnalyzer.

Select one series in the workbook and click on the Button1 button. The following procedure is executed:

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    pSeries: ILanerCalculateSerie;
Begin
    pSeries := LanerBox1.SelectedSeries(0As ILanerCalculateSerie;
    pSeries.DisplayDataAs := LnDataDisplayType.SourceValues;
    If pSeries.HasDiscrepancies Then
        Debug.WriteLine("The saved series data differ from the calculated ones");
    End If;
End Sub Button1OnClick;

After executing this example the selected series is switched to the mode of displaying the data, that is stored in the database. If the saved data of the series differs from the calculated ones, the corresponding message is displayed in console window.

See also:

ILanerCalculateSerie