Laner: ILaner;
Laner: Prognoz.Platform.Interop.Laner.ILaner;
The Laner property returns the workbook of the time series database.
The property depends on the display mode specified in IEaxAnalyzerCore.Mode:
IEaxAnalyzer.Mode = MultiDimension. The Laner property returns Null. To work with a workbook, use IEaxAnalyzerCore.Pivot.
IEaxAnalyzer.Mode = Series. The Laner property returns the workbook, the IEaxAnalyzerCore.Pivot property is set to Null.
Executing the example requires a form with the Button1 button, 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.
The example is a handler of the OnClick event for a button.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
EaxAn: IEaxAnalyzer;
Laner: ILaner;
Begin
EaxAn := UiErAnalyzer1.ErAnalyzer;
Laner := EaxAn.Laner;
If Laner <> Null Then
Laner.StartDate := DateTime.ComposeDay(2005, 01, 01);
End If;
End Sub Button1OnClick;
The start date of the data displayed in the workbook, that is loaded to the LanerBox component, is changing when clicking the Button1 button.
Executing the example requires a form with the button1 button, the LanerBoxNet component and the UiErAnalyzerNet component with the uiErAnalyzerNet1 identifier that is a data source for the LanerBoxNet component. A time series database must be loaded to uiErAnalyzerNet1.
The example is a handler of the Click event for a button.
Imports Prognoz.Platform.Interop.Laner;
Imports Prognoz.Platform.Interop.Express;
Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var
EaxAn: IEaxAnalyzer;
Laner: ILaner;
Begin
EaxAn := uiErAnalyzerNet1.ErAnalyzer.ErAnalyzer;
Laner := EaxAn.Laner;
If Laner <> Null Then
Laner.StartDate := DateTime.Parse("2005/01/01");
End If;
End Sub;
The start date of the data displayed in the workbook, that is loaded to the LanerBoxNet component, is changed when clicking the button1 button.
See also: