Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

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.