Class StockChartStockEvent
Inherited Members
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.EJ2.dll
Syntax
public class StockChartStockEvent : EJTagHelper
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
[HtmlAttributeName("background")]
public string Background { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "transparent" |
Border
Options to customize the border of the stock events.
Declaration
[HtmlAttributeName("border")]
public StockChartStockEventsBorder Border { get; set; }
Property Value
Type | Description |
---|---|
StockChartStockEventsBorder | The default value is null |
Date
Date value of stock event in which stock event shows.
Declaration
[HtmlAttributeName("date")]
public object Date { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
Description
Specifies the description for the chart which renders in tooltip for stock event.
Declaration
[HtmlAttributeName("description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
PlaceAt
Corresponding values in which stock event placed. Close Open High Close
Declaration
[HtmlAttributeName("placeAt")]
public string PlaceAt { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "close" |
SeriesIndexes
To render stock events in particular series. By default stock events will render for all series.
Declaration
[HtmlAttributeName("seriesIndexes")]
public double[] SeriesIndexes { get; set; }
Property Value
Type | Description |
---|---|
System.Double[] | The default value is null |
ShowOnSeries
Enables the stock events to be render on series. If it disabled, stock event rendered on primaryXAxis.
Declaration
[HtmlAttributeName("showOnSeries")]
public bool ShowOnSeries { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
Text
Specifies the text for the stock chart text.
Declaration
[HtmlAttributeName("text")]
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
TextStyle
Options to customize the styles for stock events text.
Declaration
[HtmlAttributeName("textStyle")]
public StockChartStockEventsTextStyle TextStyle { get; set; }
Property Value
Type | Description |
---|---|
StockChartStockEventsTextStyle | The default value is null |
Type
Specifies type of stock events Circle Square Flag Text Sign Triangle InvertedTriangle ArrowUp ArrowDown ArrowLeft ArrowRight
Declaration
[HtmlAttributeName("type")]
public FlagType Type { get; set; }
Property Value
Type | Description |
---|---|
FlagType | The default value is FlagType.Circle |