Black Lives Matter. Please consider donating to Black Girls Code today.
Dash Enterprise delivers an incredible 21x cost savings 💸Download the e-book!

Legend overriding not working

Legend overriding in not working in the latest version 1.25.2 however it was working before 1.25.0 version. You can see the following pen. proto.draw method is called which reverts the legend state.

See for working example in 1.25.0 and up.

PR added a double-click handler to legend items which broke your CodePen unfortunately. As that way of overriding the legend behavior is far from being an official feature, we won’t consider this a bug. We apologise for the inconvenience.

Thanks for the working example :slight_smile: . I don’t need double click functionality as of now so it is fine for me.