Class StockChartTrendlines
Inheritance
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.EJ2.dll
Syntax
public class StockChartTrendlines : EJTagHelper
Constructors
StockChartTrendlines()
Declaration
public StockChartTrendlines()
Properties
Animation
Options to customize the animation for trendlines.
Declaration
public object Animation { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
BackwardForecast
Defines the period, by which the trend has to backward forecast.
Declaration
public double BackwardForecast { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 0 |
EnableTooltip
Enables/disables tooltip for trendlines.
Declaration
public bool EnableTooltip { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
Fill
Defines the fill color of trendline.
Declaration
public string Fill { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
ForwardForecast
Defines the period, by which the trend has to forward forecast.
Declaration
public double ForwardForecast { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 0 |
Intercept
Defines the intercept of the trendline.
Declaration
public double Intercept { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is Double.NaN |
LegendShape
Sets the legend shape of the trendline.
Declaration
public LegendShape LegendShape { get; set; }
Property Value
Type | Description |
---|---|
LegendShape | The default value is LegendShape.SeriesType |
Marker
Options to customize the marker for trendlines.
Declaration
public StockChartMarkerSettings Marker { get; set; }
Property Value
Type | Description |
---|---|
StockChartMarkerSettings | The default value is null |
Name
Defines the name of trendline.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Period
Defines the period, the price changes over which will be considered to predict moving average trend line.
Declaration
public double Period { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 2 |
PolynomialOrder
Defines the polynomial order of the polynomial trendline.
Declaration
public double PolynomialOrder { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 2 |
Type
Defines the type of the trendline.
Declaration
public TrendlineTypes Type { get; set; }
Property Value
Type | Description |
---|---|
TrendlineTypes | The default value is TrendlineTypes.Linear |
Width
Defines the width of the trendline.
Declaration
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 1 |