# Class OfficeTrendLineType

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

##### Inheritance

System.Object

OfficeTrendLineType

**Namespace**: Syncfusion.OfficeChart

**Assembly**: Syncfusion.OfficeChart.NET.dll

##### Syntax

`public sealed class OfficeTrendLineType : Enum`

### Fields

#### Exponential

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

##### Declaration

`public const OfficeTrendLineType Exponential`

##### Field Value

Type |
---|

OfficeTrendLineType |

#### Linear

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

##### Declaration

`public const OfficeTrendLineType Linear`

##### Field Value

Type |
---|

OfficeTrendLineType |

#### Logarithmic

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

##### Declaration

`public const OfficeTrendLineType Logarithmic`

##### Field Value

Type |
---|

OfficeTrendLineType |

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

##### Declaration

`public const OfficeTrendLineType Moving_Average`

##### Field Value

Type |
---|

OfficeTrendLineType |

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

##### Declaration

`public const OfficeTrendLineType Polynomial`

##### Field Value

Type |
---|

OfficeTrendLineType |

#### Power

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

##### Declaration

`public const OfficeTrendLineType Power`

##### Field Value

Type |
---|

OfficeTrendLineType |