XlTrendlineType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies how the trendline that smoothes out fluctuations in the data is calculated.
public enum class XlTrendlineType
public enum XlTrendlineType
Public Enum XlTrendlineType
- Inheritance
-
XlTrendlineType
Fields
xlExponential | 5 | Uses an equation to calculate the least squares fit through points. |
xlLinear | -4132 | Uses the linear equation y = mx + b to calculate the least squares fit through points. |
xlLogarithmic | -4133 | Uses the equation y = c ln x + b to calculate the least squares fit through points. |
xlMovingAvg | 6 | 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 | 3 | Uses an equation to calculate the least squares fit through points. |
xlPower | 4 | Uses an equation to calculate the least squares fit through points. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for