DisplayDataAs: LnDataDisplayType;
The DisplayDataAs property determines a mode of displaying values for calculated series.
The displaying mode is determined by the value of the LnDataDisplayType enumeration:
LnDataDisplayType.CalculatedValues. Calculated values of the series are displayed in the workbook:
LnDataDisplayType.SourceValues. The values stored in the database are displayed in the workbook, also the table cells, the stored values of which differ from the calculated ones, are highlighted:
Executing the example requires a form with the Button1 button, the LanerBox component and the UiErAnalyzer component with the UiErAnalyzer1 identifier which is a data source for LanerBox. UiErAnalyzer1 must have loaded the workbook of the time series database that contains calculated data series.
Click the button to start executing the example.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Analyzer: IEaxAnalyzer;
pLaner: ILaner;
Begin
Analyzer := UiErAnalyzer1.ErAnalyzer;
pLaner := Analyzer.Laner;
pLaner.DisplayDataAs := LnDataDisplayType.CalculatedValues;
End Sub Button1OnClick;
After executing the example the calculated values of calculated series are displayed in the workbook.
See also: