Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel.Drawing Namespace / TrendlineType Enumeration
In This Topic
    TrendlineType Enumeration
    In This Topic
    Specifies how the trendline that smoothes out fluctuations in the data is calculated.
    Syntax
    public enum TrendlineType : System.Enum 
    Members
    MemberDescription
    Exponential Uses an equation y=ab^x to calculate that the least squares fit through points.
    Linear Uses the linear equation y = mx + b to calculate that the least squares fit through points.
    Logarithmic Uses the equation y = c ln x + b to calculate that the least squares fit through points.
    MovingAvg 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 y = ax^6 + bx^5 + cx^4 + dx^3 + ex^2 + fx + g to calculate that the least squares fit through points.
    Power Uses an equation y = ax^b to calculate that the least squares fit through points.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             GrapeCity.Documents.Excel.Drawing.TrendlineType

    See Also