Is there a way to have the tooltip "vertical crosshair" and "snap tooltip to datum x" to be available on a line chart, NOT <XYChart /> #1300
hyfydistro
started this conversation in
General
Replies: 1 comment
-
|
hey @hyfydistro 👋 thanks for checking out visx. I'm going to move this to discussions since it's a usage question, not an issue. To accomplish the "snap to nearest point" behavior, you need to
Here's a modified For comparison here is the existing demo which uses the pointer event for the x-coordinate |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
-
I want to have the same "snap" effect too but not in the prebuilt "XYChart".
I am making a multiline chart and I would like them all in sync aswell. How do I address the snapping issue? When I cross a point of the datum, I have a circle shape that just floats until I'm on the next nearest datum point.
Beta Was this translation helpful? Give feedback.
All reactions