Share via


XlTrendlineType Enumeration

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

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
<GuidAttribute("F2BFA1D6-B1E6-4375-96F0-11540CD587C2")> _
Public Enumeration XlTrendlineType
'Usage
Dim instance As XlTrendlineType
[GuidAttribute("F2BFA1D6-B1E6-4375-96F0-11540CD587C2")]
public enum XlTrendlineType

Members

Member name Description
xlExponential Uses an equation to calculate the least squares fit through points (for example, y=ab^x) .
xlLinear Uses the linear equation y = mx + b to calculate the least squares fit through points.
xlLogarithmic Uses the equation y = c ln x + b to calculate the least squares fit through points.
xlMovingAvg 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 minus the number specified for the period.
xlPolynomial 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 Uses an equation to calculate the least squares fit through points (for example, y = ax^b).

See Also

Reference

Microsoft.Office.Interop.PowerPoint Namespace