ForwardForecastLength: Double;
The ForwardForecastLength property determines the forecast length of a forward value series.
This example assumes that there is the Chart object of the IChart type.
Sub TrendLine;
Var
Chart: IChart;
Begin
Chart.Series.Item(0).TrendLines.Item(0).ForwardForecastLength := 3;
End Sub TrendLine;
After executing the example the trend line of the specified series is extended by three points forward.
See also: