Remove (Index: Integer);
Index. Trend line index.
The Remove method removes a trend line by the specified index.
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: