Statistics: IEaxStatistics;
The Statistics property returns calculated summary characteristics.
Summary statistics are calculated for time series only.
Executing the example requires a form containing the LanerBox component and the UiErAnalyzer component with the UiErAnalyzer1 identifier, that is a data source for LanerBox. A workbook of the time series database must be loaded to UiErAnalyzer1.
Add a link to the Transform system assembly.
Sub UserProc;
Var
EaxAn: IEaxAnalyzer;
Statistics: IEaxStatistics;
StstTree: ITsStatisticsTree;
i: Integer;
Begin
EaxAn := UiErAnalyzer1.ErAnalyzer;
Statistics := EaxAn.Statistics;
StstTree := Statistics.Statistics;
For i := 0 To StstTree.Count - 1 Do
Debug.Write(StstTree.Name(i) + ": ");
Debug.WriteLine(StstTree.Value(i));
End For;
End Sub UserProc;
After executing the example the console displays the series statistics selected in the workbook.
See also: