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.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)

'Usage
Dim xlTrendlineType1 As XlTrendlineType = XlTrendlineType.xlExponential

'Declaration
Public Enum XlTrendlineType
public enum XlTrendlineType
public enum XlTrendlineType

Member nameDescription
xlExponentialUses an equation to calculate the least squares fit through points.
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.
xlPowerUses an equation to calculate the least squares fit through points.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Community Additions

ADD
Show:
© 2014 Microsoft