You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to use this for an interactive radar chart. It has all functionality I need. Unfortunately the onHover method isn't working for me. I tried using your exact code from your example in the README.
Hi @mturnwall ! I have forked your sandbox and made two changes that sort things out:
Firstly I downgraded to the non-RC version of the repo. It's still WIP and has some issues around internal SVG transforms and mapping to hovered points.
I also changed how you've used the highlighted prop. It's a controlled component, so you have to tell it what point to highlight. So the flow is: user moves over a point > onHover prop called > you do something with that -- typically setting state like I've done in the sandbox > you update other props, like highlighted.
Hi, I'm trying to use this for an interactive radar chart. It has all functionality I need. Unfortunately the
onHover
method isn't working for me. I tried using your exact code from your example in the README.Here is an example of what I'm doing, https://codesandbox.io/s/r0j22wl76p
The text was updated successfully, but these errors were encountered: