CrossHairMovedEventParams
Crosshair move event information.
Properties
entityValues
OptionalSeries 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'
.
Type
Record<EntityId, CrossHairMovedEventSource>
offsetX
OptionalX coordinate of the crosshair relative to the left edge of the element containing the library.
Type
number
offsetY
OptionalY coordinate of the crosshair relative to the top edge of the element containing the library.
Type
number
price
The price coordinate of the crosshair.
Type
number
time
The crosshair time coordinate represented with a UNIX timestamp in UTC. You can use this property to do some calculations or retrieve additional data from the datafeed.
Type
number
userTime
OptionalThe crosshair time coordinate represented with a UNIX timestamp in the selected time zone. You can use this property to display the crosshair time value in the UI, for example, in a tooltip or data window.
Type
number