Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Description

Excerpt

Sets the or returns the value used to generate the regression equation.

Signature
C#
C#
 public int RegressionValue{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property RegressionValue() As Integer
{signature}
{exceptions}
{exception:ArgumentException}The value provided is not valid for the current [Trendline.RegressionType] value.{exception}
{remarks}
For [Polynomial|Trendline.Regression#Polynomial] regression trendlines, the value will be the order of the polynomial. This value must be between 1-6, inclusive, with 1 representing a linear trendline.

For [MovingAverage|Trendline.Regression#MovingAverage] trendlines, the value specifies the number of periods over which the average is computed. This value must be greater than or equal to 2.

For all other regression types, this value is unused.
{remarks}
Exceptions
Exception
ArgumentException
ArgumentException

The value provided is not valid for the current Trendline.RegressionType value.

Remarks

For Polynomial regression trendlines, the value will be the order of the polynomial. This value must be between 1-6, inclusive, with 1 representing a linear trendline.

For MovingAverage trendlines, the value specifies the number of periods over which the average is computed. This value must be greater than or equal to 2.

For all other regression types, this value is unused.