# GC.Spread.Sheets.Charts.TrendlineType

## Content

# Enumeration: TrendlineType

[Sheets](../modules/GC.Spread.Sheets).[Charts](../modules/GC.Spread.Sheets.Charts).TrendlineType

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

## Table of contents

### Enumeration members

- [exponential](GC.Spread.Sheets.Charts.TrendlineType#exponential)
- [linear](GC.Spread.Sheets.Charts.TrendlineType#linear)
- [logarithmic](GC.Spread.Sheets.Charts.TrendlineType#logarithmic)
- [movingAverage](GC.Spread.Sheets.Charts.TrendlineType#movingaverage)
- [polynomial](GC.Spread.Sheets.Charts.TrendlineType#polynomial)
- [power](GC.Spread.Sheets.Charts.TrendlineType#power)

## Enumeration members

### <a id="exponential" name="exponential"></a> exponential

• **exponential** = `0`

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

___

### <a id="linear" name="linear"></a> linear

• **linear** = `1`

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

___

### <a id="logarithmic" name="logarithmic"></a> logarithmic

• **logarithmic** = `2`

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

___

### <a id="movingaverage" name="movingaverage"></a> 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.

___

### <a id="polynomial" name="polynomial"></a> polynomial

• **polynomial** = `4`

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

___

### <a id="power" name="power"></a> power

• **power** = `5`

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