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