Class StockChartTrendline
To specify customization options for stockchart 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 |
ChildContent
Gets and sets the content of the UI element.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment |
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 |
OnInitializedAsync()
Method invoked when the component is ready to start.
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing the asynchronous operation. |
Overrides
OnParametersSetAsync()
Method invoked when the component has received parameters from its parent in the render tree and the incoming values have been assigned to properties.
Declaration
protected override Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing the asynchronous operation. |