ChartTrendlineType Enum
Specifies how the trendline for a series data is calculated.
Namespace: DevExpress.Spreadsheet.Charts
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
#Members
Name | Description |
---|---|
Linear
|
Calculates the least squares fit for the line y = m * x + b. |
Logarithmic
|
Calculates the number of squares that fit for the logarithmic curve y = a * ln |
Exponential
|
Calculates the least number of squares that fit the exponential curve y = a * b^x. |
Moving
|
Uses a sequence of averages calculated across each set of N consecutive values, where N is the number specified for the Trendline. |
Polynomial
|
Calculates the least square fit using a polynomial curve of order equal to the number specified by the Trendline. |
Power
|
Calculates a least square fit for a power curve in the form y = a * x^b. |
#Related API Members
The following properties accept/return ChartTrendlineType values:
#Remarks
Use the TrendlineCollection.Add to create a Trendline of the specified type and add it to the collection.