Class StockChartTrendline
To specify customization options for stock chart trendline.
Inheritance
StockChartTrendline
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class StockChartTrendline : SfDataBoundComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
StockChartTrendline()
Declaration
public StockChartTrendline()
Properties
BackwardForecast
Defines the period, by which the trend has to backward forecast.
Declaration
[Parameter]
public double BackwardForecast { get; set; }
Property Value
| Type |
|---|
| double |
EnableTooltip
Enables/disables tooltip for trendlines.
Declaration
[Parameter]
public bool EnableTooltip { get; set; }
Property Value
| Type |
|---|
| bool |
Fill
Defines the fill color of trendline.
Declaration
[Parameter]
public string Fill { get; set; }
Property Value
| Type |
|---|
| string |
ForwardForecast
Defines the period, by which the trend has to forward forecast.
Declaration
[Parameter]
public double ForwardForecast { get; set; }
Property Value
| Type |
|---|
| double |
Intercept
Defines the intercept of the trendline.
Declaration
[Parameter]
public double Intercept { get; set; }
Property Value
| Type |
|---|
| double |
LegendShape
Sets the legend shape of the trendline.
Declaration
[Parameter]
public LegendShape LegendShape { get; set; }
Property Value
| Type |
|---|
| LegendShape |
Name
Defines the name of trendline.
Declaration
[Parameter]
public string Name { get; set; }
Property Value
| Type |
|---|
| string |
Period
Defines the period, the price changes over which will be considered to predict moving average trend line.
Declaration
[Parameter]
public double Period { get; set; }
Property Value
| Type |
|---|
| double |
PolynomialOrder
Defines the polynomial order of the polynomial trendline.
Declaration
[Parameter]
public double PolynomialOrder { get; set; }
Property Value
| Type |
|---|
| double |
Type
Defines the type of the trendline.
Declaration
[Parameter]
public TrendlineTypes Type { get; set; }
Property Value
| Type |
|---|
| TrendlineTypes |
Width
Defines the width of the trendline.
Declaration
[Parameter]
public double Width { get; set; }
Property Value
| Type |
|---|
| double |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderTreeBuilder | __builder |