Manual trigger of pie chart hover in JS

Hello all,

I’ve been able to manually trigger a hover event for all chart types except pie chart, using the docs at https://plot.ly/javascript/hover-events/ and looking at the comments in the source code.

I’ve tried using the same evt data that comes in to a regular mouseover hover, and sending that in my manual triggering, but that doesn’t seem to work.

Plotly.Fx.hover(‘myId’, originalEventObject, ‘pie’);

Any ideas on this issue would be greatly appreciated.
Thanks,
Steve

I’m also having this issue. I changed the basics of the example to become a pie chart and the error is Unrecognized subplot: xy.
See codepen: https://codepen.io/gemma-nash/pen/vYExBjJ
Can anyone help?