Class Trendline
A trend line is a graphical element used to indicate patterns or comparisons in data, such as price movements over time.
Inheritance
System.Object
Trendline
Namespace: Syncfusion.Windows.Forms.Chart
Assembly: Syncfusion.Chart.Base.dll
Syntax
public sealed class Trendline : Object
Constructors
Trendline()
Initializes a new instance of the Trendline class.
Declaration
public Trendline()
Properties
BackwardForecast
Gets or sets the Backward Forecast of the trendline.
Declaration
[ChartTemplate]
public double BackwardForecast { get; set; }
Property Value
| Type |
|---|
| System.Double |
Color
Gets or sets the color of the trendline.
Declaration
[ChartTemplate]
public Color Color { get; set; }
Property Value
| Type |
|---|
| System.Drawing.Color |
ForwardForecast
Gets or sets the Forward Forecast of the trendline.
Declaration
[ChartTemplate]
public double ForwardForecast { get; set; }
Property Value
| Type |
|---|
| System.Double |
Name
Gets or sets the name of the trendline.
Declaration
[ChartTemplate]
public string Name { get; set; }
Property Value
| Type |
|---|
| System.String |
Period
Gets or sets the Period in the Moving Average Trendline
Declaration
[ChartTemplate]
public double Period { get; set; }
Property Value
| Type |
|---|
| System.Double |
PolynomialOrder
Gets or sets the Polynomial Order in the Polynomial Trendline
Declaration
[ChartTemplate]
public double PolynomialOrder { get; set; }
Property Value
| Type |
|---|
| System.Double |
Style
Gets or sets the trendline style.
Declaration
[ChartTemplate]
public DashStyle Style { get; set; }
Property Value
| Type |
|---|
| System.Drawing.Drawing2D.DashStyle |
Type
Gets or sets the type of the trendline.
Declaration
[ChartTemplate]
public TrendlineType Type { get; set; }
Property Value
| Type |
|---|
| TrendlineType |
Visible
Gets or sets the visibility of trendline.
Declaration
[ChartTemplate]
public bool Visible { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
Width
Gets or sets the width of the trendline.
Declaration
[ChartTemplate]
public float Width { get; set; }
Property Value
| Type |
|---|
| System.Single |