I’m trying to build a dash app that will display data based on the currently selected wedge in a sunburst, but I’m having trouble getting that event. If I react to
hoverData then the event fires incessantly and causes the graph to flicker annoyingly. If I don’t use that, I can’t get any of the other properties listed here to change on click.
I would love to know:
- is there something that updates when a user clicks on a wedge in the sunburst that I could use as an
Inputso that I could read the
State("graph", "hoverData") -> ["currentPath"]?
- If I have to react to a change in
PreventUpdateif it hasn’t changed, is there a way for me to make it only fire once per second, say?