Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Get currentPath from sunburst in dash

$
0
0

@dash_question_j wrote:

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.
https://dash.plot.ly/dash-core-components/graph

I would love to know:

  1. is there something that updates when a user clicks on a wedge in the sunburst that I could use as an Input so that I could read the State("graph", "hoverData") -> ["currentPath"]?
  2. If I have to react to a change in hoverData and PreventUpdate if it hasn’t changed, is there a way for me to make it only fire once per second, say?

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6271

Latest Images

Trending Articles



Latest Images