Class StockChartStockEvent
To specify customization options for stockchart stockevent.
Inheritance
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class StockChartStockEvent : OwningComponentBase
Constructors
StockChartStockEvent()
Declaration
public StockChartStockEvent()
Properties
Background
The background of the stock event that accepts value in hex and rgba as a valid CSS color string.
Declaration
public string Background { get; set; }
Property Value
Type |
---|
System.String |
ChildContent
Gets and sets the content of the UI element.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment |
Date
Date value of stock event in which stock event shows.
Declaration
public DateTime Date { get; set; }
Property Value
Type |
---|
System.DateTime |
Description
Specifies the description for the chart which renders in tooltip for stock event.
Declaration
public string Description { get; set; }
Property Value
Type |
---|
System.String |
PlaceAt
Corresponding values in which stock event placed. Close Open High Close.
Declaration
public string PlaceAt { get; set; }
Property Value
Type |
---|
System.String |
SeriesIndexes
To render stock events in particular series.
Declaration
public int[] SeriesIndexes { get; set; }
Property Value
Type |
---|
System.Int32[] |
ShowOnSeries
Enables the stock events to be render on series. If it disabled, stock event rendered on primaryXAxis.
Declaration
public bool ShowOnSeries { get; set; }
Property Value
Type |
---|
System.Boolean |
Text
Specifies the text for the stock chart text.
Declaration
public string Text { get; set; }
Property Value
Type |
---|
System.String |
Type
Specifies type of stock events Circle Square Flag Text Sign Triangle InvertedTriangle ArrowUp ArrowDown ArrowLeft ArrowRight.
Declaration
public FlagType Type { get; set; }
Property Value
Type |
---|
FlagType |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
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. |