How to access neighbor datums? #1492
Unanswered
DigitalEntelechy
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hey @BowTiedGar thanks for checking out visx. Just so I can help better, can you share which package(s) you are using to try and do this? E.g. @visx/tooltip + @visx/shape, or @visx/xychart? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Context: In a simple line chart & using
<Tooltip/>
I'd like to userenderGlyph
to create a glyph scrubber component that is comprised of a circle at the hovered index and a circle for the nearest X number of series neighbors in both directions.Building the component seems straightforward enough, but I cannot sort out how to access the
x,y
coordinates of the series neighbors to properly place them.How can I approach this?
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions