Creates a new Trendline object that is automatically added to the Trendlines collection.

 public Trendline CreateTrendline(Regression type)
Public Function CreateTrendline(ByVal type As Regression) As Trendline

One of the following Trendline.Regression : Exponential , Logarithmic , MovingAverage , Polynomial , Power .

A Trendline object representing a new trendline.