Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pie, donut and gauge charts don't respect interaction.enabled setting #801

Closed
snkashis opened this issue Dec 3, 2014 · 4 comments
Closed
Labels
C-bug Category: This is a bug resolved maybe

Comments

@snkashis
Copy link

snkashis commented Dec 3, 2014

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

@aendra-rininsland aendra-rininsland added the C-bug Category: This is a bug label Dec 4, 2014
@aendra-rininsland
Copy link
Member

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.

@aendra-rininsland aendra-rininsland changed the title Pie charts don't respect interaction.enabled setting Pie, donut and gauge charts don't respect interaction.enabled setting Dec 4, 2014
@masayuki0812
Copy link
Member

Thanks for your reporting. I think this has been fixed now. I'll release this fix in the next version v0.4.8.

@masayuki0812
Copy link
Member

v0.4.8 has been released, so please let me close.

@merrihew
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug resolved maybe
Projects
None yet
Development

No branches or pull requests

4 participants