Class StockChartTrendline
To specify customization options for stock chart trendline.
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class StockChartTrendline : SfDataBoundComponent
Constructors
StockChartTrendline()
Declaration
public StockChartTrendline()
Properties
BackwardForecast
Defines the period, by which the trend has to backward forecast.
Declaration
public double BackwardForecast { get; set; }
Property Value
Type |
---|
System.Double |
EnableTooltip
Enables/disables tooltip for trendlines.
Declaration
public bool EnableTooltip { get; set; }
Property Value
Type |
---|
System.Boolean |
Fill
Defines the fill color of trendline.
Declaration
public string Fill { get; set; }
Property Value
Type |
---|
System.String |
ForwardForecast
Defines the period, by which the trend has to forward forecast.
Declaration
public double ForwardForecast { get; set; }
Property Value
Type |
---|
System.Double |
Intercept
Defines the intercept of the trendline.
Declaration
public double Intercept { get; set; }
Property Value
Type |
---|
System.Double |
LegendShape
Sets the legend shape of the trendline.
Declaration
public LegendShape LegendShape { get; set; }
Property Value
Type |
---|
LegendShape |
Name
Defines the name of trendline.
Declaration
public string Name { get; set; }
Property Value
Type |
---|
System.String |
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 |
---|
System.Double |
PolynomialOrder
Defines the polynomial order of the polynomial trendline.
Declaration
public double PolynomialOrder { get; set; }
Property Value
Type |
---|
System.Double |
Type
Defines the type of the trendline.
Declaration
public TrendlineTypes Type { get; set; }
Property Value
Type |
---|
TrendlineTypes |
Width
Defines the width of the trendline.
Declaration
public double Width { get; set; }
Property Value
Type |
---|
System.Double |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |