Class TrendLine
Represents a trend line in a chart series.
Inherited Members
Namespace: DRIT.Spreadsheet.Chart
Assembly: DRIT.Spreadsheet.dll
Syntax
public class TrendLine : ChartLine
Properties
Backward
Specifies the backward extension value.
Declaration
public double Backward { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
DisplayEquationOnChart
Gets or sets whether to display the equation on the chart.
Declaration
public bool DisplayEquationOnChart { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
DisplayRSquaredValueOnChart
Gets or sets whether to display the R-squared value on the chart.
Declaration
public bool DisplayRSquaredValueOnChart { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Forward
Specifies the forward extension value.
Declaration
public double Forward { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Intercept
Specifies the intercept value.
Declaration
public double Intercept { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
IsDefault
Gets whether this is the default trend line.
Declaration
public bool IsDefault { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Label
Gets the trend line label.
Declaration
public TrendlineLabel Label { get; }
Property Value
| Type | Description |
|---|---|
| TrendlineLabel |
Name
Specifies the name of the trend line.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Order
Specifies the order for polynomial trend lines.
Declaration
public int Order { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Period
Specifies the period for moving average trend lines.
Declaration
public int Period { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
TrendlineType
Specifies the type of the trend line.
Declaration
public TrendlineType TrendlineType { get; set; }
Property Value
| Type | Description |
|---|---|
| TrendlineType |