[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.Charts.ITrendline

ITrendline Interface

Represents a trendline in a chart.

Namespace: GrapeCity.Spreadsheet.Charts
Assembly: GrapeCity.Spreadsheet.dll
Syntax
public interface ITrendline
Public Interface ITrendline

Properties

Name Description
Backward

Gets or sets the number of periods (or units on a scatter chart) that the trendline extends backward.

Border

Gets an IBorder object that represents the border of the object.

DataLabel

Gets an IDataLabel object that represents the data label associated with the trendline.

DisplayEquation

Gets or sets a value indicating whether the equation for the trendline is displayed on the chart (in the same data label as the R-squared value).

DisplayRSquared

Gets or sets a value indicating whether the R-squared value of the trendline is displayed on the chart (in the same data label as the equation).

Format

Gets the IChartFormat object.

Forward

Gets or sets the number of periods (or units on a scatter chart) that the trendline extends forward.

Index

Gets a value that represents the index number of the object within the collection of similar objects.

Intercept

Gets or sets the point where the trendline crosses the value axis.

Order

Gets or sets a value that represents the trendline order (an integer greater than 1) when the trendline type is Polynomial.

Period

Gets or sets the period for the moving-average trendline. Can be a value from 2 through 255.

Type

Gets or sets a TrendlineType value that represents the trendline type.

Methods

Name Description
ClearFormats()

Clears the formatting of the object.

Delete()

Deletes the object.