interaction:{enabled:false}
seems to work fine for other chart types like area/bar/line, but not pie? Testable quickly from http://c3js.org/samples/chart_pie.html
Confirming the interaction
property doesn't affect pie charts.
Edit: Also doesn't work with the donut
and gauge
variants — basically, anything that lacks axes. Additionally, interaction still occurs on line/scatter/area/etc. charts if you click/tap the legend.
Thanks for your reporting. I think this has been fixed now. I'll release this fix in the next version v0.4.8.
v0.4.8 has been released, so please let me close.
Is it intentional that interaction:{enabled:false}
does not disable mouse events on the legend? IMO, disabling interaction in the config should disable all mouse/touch functionality.
I'll gladly open a PR to introduce/fix this, but I wanted to confirm that the legend should function this way.
Most helpful comment
Is it intentional that
interaction:{enabled:false}
does not disable mouse events on the legend? IMO, disabling interaction in the config should disable all mouse/touch functionality.I'll gladly open a PR to introduce/fix this, but I wanted to confirm that the legend should function this way.