[]
        
(Showing Draft Content)

GC.Spread.Sheets.Charts.TrendlineType

Enumeration: TrendlineType

Sheets.Charts.TrendlineType

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

Table of contents

Enumeration members

Enumeration members

exponential

• exponential = 0

Uses an equation to calculate the least squares fit through points.


linear

• linear = 1

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


logarithmic

• logarithmic = 2

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


movingAverage

• movingAverage = 3

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

• polynomial = 4

Uses an equation to calculate the least squares fit through points.


power

• power = 5

Uses an equation to calculate the least squares fit through points.