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!

Legend items enable disable in horizantal stacked bar chart

  • I have used Horizantal stacked bar chart and it shows me legends on right side when i click on legend it disables, can i put one or all legends disable by default and it enables when user clicks on it
  • Is there any way to bind mouse click event on legend item click

Use visible: 'legendonly' (

Not at the moment. It is a scheduled enhancement though. Please subscribe to for development updates.