Skip to content

Documentation / @ripl/charts / InteractionPoint

Interface: InteractionPoint ​

Defined in: charts/src/core/interaction.ts:30

The pointer position passed to interaction callbacks.

Properties ​

PropertyTypeDescriptionDefined in
xnumberPointer x coordinate, in logical pixels (CSS pixels relative to the context's top-left, unaffected by the device pixel ratio).charts/src/core/interaction.ts:32
ynumberPointer y coordinate, in logical pixels (CSS pixels relative to the context's top-left, unaffected by the device pixel ratio).charts/src/core/interaction.ts:34