Interface: MouseEventParams
Represents a mouse event.
Properties
time?
optionaltime:Time
Time of the data at the location of the mouse event.
The value will be undefined if the location of the event in the chart is outside the range of available data.
logical?
optionallogical:Logical
Logical index
point?
optionalpoint:Point
Location of the event in the chart.
The value will be undefined if the event is fired outside the chart, for example a mouse leave event.
seriesData
seriesData:
Map<ISeriesApi<keyofSeriesOptionsMap>,BarData|HistogramData|LineData>
Data of all series at the location of the event in the chart.
Keys of the map are ISeriesApi instances. Values are prices. Values of the map are original data items
hoveredSeries?
optionalhoveredSeries:ISeriesApi<keyofSeriesOptionsMap>
The ISeriesApi for the series at the point of the mouse event.
hoveredObjectId?
optionalhoveredObjectId:unknown
The ID of the object at the point of the mouse event.
sourceEvent?
optionalsourceEvent:TouchMouseEventData
The underlying source mouse or touch event data, if available