XlTrendlineType enumeration
Office 2013 and later
You should access and use this enumeration from the Excel primary interop assembly (PIA).
Specifies how the trendline that smoothes out fluctuations in the data is calculated.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
| Member name | Description | |
|---|---|---|
| xlExponential | You should access and use this enumeration from the Excel primary interop assembly (PIA). Uses an equation to calculate the least squares fit through points, for example, y=ab^x . | |
| xlLinear | You should access and use this enumeration from the Excel primary interop assembly (PIA). Uses the linear equation y = mx + b to calculate the least squares fit through points. | |
| xlLogarithmic | You should access and use this enumeration from the Excel primary interop assembly (PIA). Uses the equation y = c ln x + b to calculate the least squares fit through points. | |
| xlMovingAvg | You should access and use this enumeration from the Excel primary interop assembly (PIA). Uses a sequence of averages computed from parts of the data series. The number of points equals the total number of points in the series less the number specified for the period. | |
| xlPolynomial | You should access and use this enumeration from the Excel primary interop assembly (PIA). Uses an equation to calculate the least squares fit through points, for example, y = ax^6 + bx^5 + cx^4 + dx^3 + ex^2 + fx + g. | |
| xlPower | You should access and use this enumeration from the Excel primary interop assembly (PIA). Uses an equation to calculate the least squares fit through points, for example, y = ax^b. |
Show: