Skip to main content
All docs
V26.1
  • TrendLine Members

    A trend line for Chart series.

    Constructors

    Name Description
    TrendLine() Initializes a new instance of the TrendLine class.

    Properties

    Name Description
    Effects Gets or sets shape effects for the chart element. Inherited from ChartElement.
    EquationLabel Gets or sets label settings for equation text.
    Fill Gets or sets fill settings for the chart element. Inherited from ChartElement.
    ForecastBackward Gets or sets the number of points to forecast backward.
    ForecastForward Gets or sets the number of points to forecast forward.
    Intercept Gets or sets the point where the trendline crosses the value axis.
    MovingAveragePeriod Gets or sets the period of the moving-average trendline when TrendLine.Type is MovingAverage.
    Name Gets or sets the trend line name.
    OutlineStyle Gets or sets outline settings for the chart element. Inherited from ChartElement.
    PolynomialOrder Gets or sets the polynomial order for a polynomial trend line.
    ShowEquationLabel Gets or sets whether the trend line equation is displayed.
    ShowRSquaredValue Gets or sets whether the R-squared value is displayed.
    Type Gets or sets the trend line type.

    Methods

    Name Description
    Clone() Creates a copy of the current trend line.
    Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
    Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
    GetHashCode() Serves as the default hash function. Inherited from Object.
    GetType() Gets the Type of the current instance. Inherited from Object.
    MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
    ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
    ToString() Returns a string that represents the current object. Inherited from Object.
    See Also