Export (0) Print
Expand All
Expand Minimize

XlTrendlineType Enumeration

Specifies how the trendline that smoothes out fluctuations in the data is calculated.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

public enum XlTrendlineType

Member nameDescription
xlExponentialUses an equation to calculate the least squares fit through points, for example, y=ab^x .
xlLinearUses the linear equation y = mx + b to calculate the least squares fit through points.
xlLogarithmicUses the equation y = c ln x + b to calculate the least squares fit through points.
xlMovingAvgUses 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.
xlPolynomialUses 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.
xlPowerUses an equation to calculate the least squares fit through points, for example, y = ax^b.
Show:
© 2015 Microsoft