Hello,
Is it possible to have non clickable legends ?
thanks
Hi, now you can disable click by legend.item.onclick = function () {}. Could you try this?
Hi,
I can't get this to work. Can you provide a working example ?
thanks
Have a look at this example: http://jsfiddle.net/C89z4/1/
great! thanks.
Thanks guys this is helpful. My further question is how do I get to call the default behavior before or after my custom function in legend.item.onclick = function () {doCustomEvent(); doDefault()}
@mathiasbanda default behaviour is:
legend.item.onclick = function (id) { chart.toggle(id); }
My workaround was basically a cheat, I will do it properly now. Thanks
Most helpful comment
@mathiasbanda default behaviour is:
legend.item.onclick = function (id) { chart.toggle(id); }