Pie Chart handle click

Hello,

I’m using plotly.js to create a donut/pie chart with a legend/list of names on the side. Currently, when I click on a data name in the legend/list, it toggles that data on/off in the pie chart. Is it possible to change this behavior? I would like it to return the data name back to me when I click instead of the on/off toggle.

Please let me know if I can provide any more info. Thanks in advance for any help!

Not at the moment unfortunately.