IChartTrendLine.PeakIntervals

Syntax

PeakInterval: Integer;

Description

The PeakInterval property determines the interval for peak values.

Comments

This property applies only to lines of a trend with the Peak Values type.

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).TrendType := 5 As ChartTrendType;//set trend type Peak Values

Chart.Series.Item(0).TrendLines.Item(0).PeakInterval := 4;

End Sub TrendLine;

Executing this example builds a line of a peak-type trend with the specified interval.

See also:

IChartTrendLine|IChartTrendLine.TrendType