ObservationAttributeInComment: String;
The ObservationAttributeInComment property determines a name of the observation attribute displayed in a comment to series values.
Executing the example requires a form with the Button1 button, the TabSheetBox component and the UiErAnalyzer component named UiErAnalyzer1 that is a data source for TabSheetBox. Working area of the time series database must be loaded to UiErAnalyzer1. Click the button to start executing this example.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Analyzer: IEaxAnalyzer;
Laner: ILaner;
Tbl: ILanerTable;
Begin
Analyzer := UiErAnalyzer1.ErAnalyzer;
Laner := Analyzer.Laner;
Laner.BeginUpdate;
Laner.ObservationAttributeInComment := "CMT";
Tbl := Laner.Execute;
Laner.EndUpdate;
End Sub Button1OnClick;
After executing the example the CMT observation attribute value is displayed as a comment to the series values.
See also: