# Enum OfficeTrendLineType

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

**Namespace**: Syncfusion.OfficeChart

**Assembly**: Syncfusion.OfficeChart.Base.dll

##### Syntax

`public enum OfficeTrendLineType`

### Fields

Name | Description |
---|---|

Exponential | Uses an equation to calculate the least squares fit through points, for example, y=ab^x . |

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

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

Moving_Average | 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 | 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. |

Power | Uses an equation to calculate the least squares fit through points, for example, y = ax^b. |