Represents a trendline.
Inheritance
object
Properties
Section titled "Properties"Chart
Section titled "Chart"Inherited from: ChartObject
Returns the owning chart (read-only)
public WorksheetChart Chart { get; } Owner
Section titled "Owner"Inherited from: ChartObject
returns this object's owner. (read-only)
public ChartObject Owner { get; } Sheet
Section titled "Sheet"Inherited from: ChartObject
The owning sheet (read-only)
public Sheet Sheet { get; } Workbook
Section titled "Workbook"Inherited from: ChartObject
The owning workbook (read-only)
public Workbook Workbook { get; } Worksheet
Section titled "Worksheet"Inherited from: ChartObject
The owning worksheet (read-only)
public Worksheet Worksheet { get; } Backward
Section titled "Backward"Specifies the number of periods or units by which the trendline extends backward.
public double Backward { get; set; } Forward
Section titled "Forward"Specifies the number of periods or units by which the trendline extends forward.
public double Forward { get; set; } Intercept
Section titled "Intercept"Specifies the value axis intercept for the trendline.
public double? Intercept { get; set; } Label
Section titled "Label"Returns or sets a instance which determines the text and appearance of the trendline label.
public TrendlineLabel Label { get; set; } LegendEntry
Section titled "LegendEntry"Returns a instance which determines the appearance of this trendline's appearance in the .
public LegendEntry LegendEntry { get; } Returns or sets a instance which controls the color and width of the trendline.
public TrendlineLine Line { get; set; } Specifies the name of the trendline.
public string Name { get; set; } Order
Section titled "Order"Specifies the order/degree of the polynomial function which defines the trendline. Applicable only when the property is set to Polynomial.
public TrendlinePolynomialOrder Order { get; set; } Period
Section titled "Period"Specifies the period for a moving-average trendline. Applicable only when the property is set to MovingAverage.
public int Period { get; set; } TrendlineType
Section titled "TrendlineType"Specifies the type of trendline, i.e., linear, exponential, polynomial, etc.
public TrendlineType TrendlineType { get; set; }