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

On Pie charts, filtering values clicking legend fields not respect colors #11

Closed
karlos1337 opened this issue Feb 18, 2016 · 3 comments
Closed

Comments

@karlos1337
Copy link

It happens even in the demo, if you click the first legend field the second field takes his name and color (and the third become the second ... etc) and legend colors dont change according that.

In others charts like bars dont happens, if you remove one color the other values remains theirs colors.

@SpaceK33z
Copy link
Contributor

Good catch, you are right. Don't have time to fix this soon, a PR is welcome.

@SpaceK33z
Copy link
Contributor

It should be fixed now. There still is one big bug with the labels in a pie that I didn't manage to fix yet; if you use labels and click a few times on the legend, the labels will be displayed incorrectly.

A workaround for this is to pass the labels to legendNames, then it should work fine.

@SpaceK33z
Copy link
Contributor

Okay the bug I mentioned above should also be fixed now. Published version 0.3.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants