Statistics: IEaxStatistics;
Statistics: Prognoz.Platform.Interop.Express.IEaxStatistics;
The Statistics property returns calculated summary statistics.
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.
Executing the example requires a .NET form containing the LanerBoxNet component and the UiErAnalyzerNet component with the UiErAnalyzerNet1 identifier that is a data source for LanerBoxNet. A workbook of the time series database must be loaded to UiErAnalyzerNet1.
Imports Prognoz.Platform.Interop.Transform;
Imports Prognoz.Platform.Interop.Express;
…
Public Shared Sub UserProc();
Var
EaxAn: IEaxAnalyzer;
Statistics: IEaxStatistics;
StstTree: ITsStatisticsTree;
i: Integer;
Begin
EaxAn := UiErAnalyzerNet1.ErAnalyzer.ErAnalyzer;
Statistics := EaxAn.Statistics;
StstTree := Statistics.Statistics;
For i := 0 To StstTree.Count - 1 Do
System.Diagnostics.Debug.Write(StstTree.Name[i] + ": ");
System.Diagnostics.Debug.WriteLine(StstTree.Value[i]);
End For;
End Sub;
After executing the example the console displays the series statistics selected in the workbook.
See also: