TrendLines: IChartTrendLines;
The TrendLines property determines parameters for a trend line.
This example assumes that there is the Serie object of the IChartSerie type.
Sub TrendLine;
Var
Serie: IChartSerie;
Trend: IChartTrendLine;
Begin
Trend := Serie.TrendLines.Add(2 As ChartTrendType);
End Sub TrendLine;
After executing the example a data series will have a trend line of exponential type.
See also: