IChartTrendLines.Remove

Syntax

Remove (Index: Integer);

Parameters

Index. Trend line index.

Description

The Remove method removes a trend line by the specified index.

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.Remove(0);
End Sub TrendLine;

After executing the example the specified trend line is removed.

See also:

IChartTrendLines