plotly_click event doesn't fire when clicking non-root/leaf nodes of sunburst trace
See original GitHub issueOriginally reported in https://github.com/ropensci/plotly/issues/1648
Minimal example (note how clicking on the middle ring doesn’t trigger plotly_click
) https://codepen.io/cpsievert/pen/OJJZyrZ
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (8 by maintainers)
Top Results From Across the Web
Sunburst: onclick events with non-terminal nodes - plotly.js
Hey Folks, Does anyone know if there's an option to have an onclick event associated with something in a sunburst that isn't a...
Read more >Plotly sunburst and callbacks - Dash Python
However, i am finding that i only get 'clickData' callbacks to fire if a leaf is clicked. Id like to crossfilter a table...
Read more >Get currentPath from sunburst in dash - Plotly Community Forum
On using click data, am not able to get the click events for the non-root or non-leaf part of the graph. Is there...
Read more >Click events in Python - Plotly
Scatter instance Register function to be called when the user clicks on one or more points in this trace. Note: Callbacks will only...
Read more >Disabling default click behaviour on Sunburst - plotly.js
Hi. I've been able to add and remove my own event handlers processing the 'plotly_click' event, but I can't seem to stop a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Personally, I’m very (very) much in favour of 2).
yep, that’s what I had in mind! 🍻
As a user what I would want to know is not the transition parameters, but: did the root node of the view change, and if so to which node?
For sure, minor.