ForecastStartYear: Integer;
The ForecastStartYear property determines the year, starting from which forecast values for all the workbook series are to be calculated.The property value must be within the [ILaner.StartYear; ILaner.EndYear] range.
The forecast period start for each workbook series is set using the ILanerTransformPeriod.ForecastStartDate property.
IMPORTANT. The property is not supported.
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
ErAn: IEaxAnalyzer;
Laner: ILaner;
Begin
ErAn := UiErAnalyzer1.ErAnalyzer;
Laner := ErAn.Laner;
Laner.BeginUpdate;
Laner.StartYear := 2000;
Laner.EndYear := 2010;
Laner.ForecastStartYear := 2010;
Laner.EndUpdate;
End Sub Button1OnClick;
After executing the example the new start, end and forecast points are set for the saved area. The working area redrawing is paused for the period of making changes.
See also: