I’m trying to programmatically trigger a hoverinfo box on a sunburst chart. My code does not seem to do anything. I’ve found the curveNumber and pointNumber for the sunburst wedge that I’m interested in having the hovertext appear.
Here is my codepen:
Any help would be greatly appreciated.
Fx.hover only works for cartesian subplots.
You can subscribe to https://github.com/plotly/plotly.js/issues/1963 for the most up-to-date development information.
okay thanks. I was able to figure out a kludge that involves getting the x,y coordinates for the bounding box for a given “wedge” of the chart, and then programatically setting a “hover” over an x,y coordinate that happens to fall within the wedge.