Clear;
The Clear method deletes all trend lines from the chart.
This example assumes that there is the Chart object of the IChart type.
Sub TrendLine;
Var
Chart: IChart;
Begin
Chart.Series.Item(0).TrendLines.Clear;
End Sub TrendLine;
After executing the example all trend lines are deleted.
See also: