PeakInterval: Integer;
The PeakInterval property determines an interval for peak values.
This property applies only to a line of a trend with the Peak Values type.
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 the example builds a trend line of a peak type with the specified peak interval.
See also: