As of v1.37 (and specifically https://github.com/plotly/plotly.js/pull/2581) you can disable hiding traces by legend click using the plotly_legendclick
event:
gd.on('plotly_legendclick',function() { return false; })
As of v1.37 (and specifically https://github.com/plotly/plotly.js/pull/2581) you can disable hiding traces by legend click using the plotly_legendclick
event:
gd.on('plotly_legendclick',function() { return false; })