IChartTrendLine.ForwardForecastLength

Syntax

ForwardForecastLength: Double;

Description

The ForwardForecastLength property determines a length of forward series value forecast.

Example

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 three points forward.

See also:

IChartTrendLine