Description |
---|
Excerpt |
---|
Creates a new Trendline object that is automatically added to the Trendlines collection. |
Signature | C# | C# |
---|---|---|
Wiki Markup | ||
{description}
{excerpt}Creates a new [Trendline|Trendline] object that is automatically added to the [Trendlines|Trendlines] collection.{excerpt}
{signature:C#}
public Trendline CreateTrendline(Regression type)
| ||
Signature | ||
{signature}{signature:vb.net | vb.net | }
Public Function CreateTrendline(ByVal type As Regression) As Trendline
|
Parameters |
---|
Param | type | type |
---|
One of the following Trendline.Regression : Exponential , Logarithmic , MovingAverage , Polynomial , Power . |
Returns |
A Trendline object representing a new trendline.{signature}
{parameters}
{param:type}One of the following [Trendline.Regression|Trendline.Regression] : [Exponential|Trendline.Regression#Exponential] , [Logarithmic|Trendline.Regression#Logarithmic] , [MovingAverage|Trendline.Regression#MovingAverage] , [Polynomial|Trendline.Regression#Polynomial] , [Power|Trendline.Regression#Power] .{param}
{returns}A {{Trendline}} object representing a new trendline.{returns}
|