[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.TrendlineType

Enum TrendlineType

Namespace
GrapeCity.Documents.Excel.Drawing
Assembly
GcDocs.Excel.dll

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

public enum TrendlineType

Fields

Exponential = 4

Uses an equation y=ab^x to calculate that the least squares fit through points.

Linear = 1

Uses the linear equation y = mx + b to calculate that the least squares fit through points.

Logarithmic = 0

Uses the equation y = c ln x + b to calculate that the least squares fit through points.

MovingAvg = 5

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.

Polynomial = 2

Uses an equation y = ax^6 + bx^5 + cx^4 + dx^3 + ex^2 + fx + g to calculate that the least squares fit through points.

Power = 3

Uses an equation y = ax^b to calculate that the least squares fit through points.