Skip to main content

Interface: CrossHairMovedEventParams

Charting Library.CrossHairMovedEventParams

Crosshair move event information.

Properties

entityValues

Optional entityValues: Record<EntityId, CrossHairMovedEventSource>

Series and study values at the crosshair position. The object keys are study or series IDs, and the object value are study or series values. The ID for the main series will always be the string '_seriesId'.


offsetX

Optional offsetX: number

X coordinate of the crosshair relative to the left edge of the element containing the library.


offsetY

Optional offsetY: number

Y coordinate of the crosshair relative to the top edge of the element containing the library.


price

price: number

The price coordinate of the crosshair.


time

time: number

The time coordinate of the crosshair.