StockEventDirective
12 Sep 20251 minute to read
StockEvents
<e-stockchart-stockevents>
<e-stockchart-stockevent></e-stockchart-stockevent>
</e-stockchart-stockevents>Properties
background any
The background of the stock event that accepts value in hex and rgba as a valid CSS color string.
Defaults to ‘transparent’
border any
Options to customize the border of the stock events.
date any
Date value of stock event in which stock event shows.
description any
Specifies the description for the chart which renders in tooltip for stock event.
placeAt any
Corresponding values in which stock event placed.
- Close
 - Open
 - High
 - Close
 
Defaults to ‘close’
seriesIndexes any
To render stock events in particular series.
By default stock events will render for all series.
Defaults to []
showOnSeries any
Enables the stock events to be render on series. If it disabled, stock event rendered on primaryXAxis.
Defaults to true
text any
Specifies the text for the stock chart text.
textStyle any
Options to customize the styles for stock events text.
type any
Specifies type of stock events
- Circle
 - Square
 - Flag
 - Text
 - Sign
 - Triangle
 - InvertedTriangle
 - ArrowUp
 - ArrowDown
 - ArrowLeft
 - ArrowRight
 
Defaults to ‘Circle’