Not able to get Plotly.Fx.hover to work on sunburst chart

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.

Plotly.Fx.hover('myDiv',[
        {curveNumber:0, pointNumber:1},
    ]);

Here is my codepen:
https://codepen.io/yangchris16/pen/gOOPPRR

Any help would be greatly appreciated.

thanks

That’s correct 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.