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 chart is not displayed correctly #328

Closed
ghost opened this issue Jun 6, 2014 · 5 comments
Closed

Pie chart is not displayed correctly #328

ghost opened this issue Jun 6, 2014 · 5 comments
Labels
C-feature-request Category: A feature request or an enhancement resolved maybe

Comments

@ghost
Copy link

ghost commented Jun 6, 2014

The pie chart is not displayed correctly: As you can see the green field is progressing opposite to clockwise and then at 50% the colours are switching sides and then green colour is progressing clockwise.

try data like

green: [ 40 ]
blue: [ 60 ]

green: [ 50 ]
blue: [ 50 ]

green: [ 60 ]
blue: [ 40 ]

@masayuki0812
Copy link
Member

Hi, Thank you for reporting. Pie and donut chart sort the data as default, but sometimes it seems not needed as you wrote. So I added pie.sort and donut.sort option to disable sorting. Please try this option. Thanks.

@ghost
Copy link
Author

ghost commented Jun 9, 2014

Thank you very much for answer and patch. I'll look into it at work and let you know if this solved the issue.

@ghost
Copy link
Author

ghost commented Jun 9, 2014

I confirm, sorting solved the problem! Thank you very much :)

@masayuki0812
Copy link
Member

All right. Thank you for confirming.

@Calmway
Copy link

Calmway commented Oct 11, 2018

hello. why sort: true doesn't work?
v 0.6.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request Category: A feature request or an enhancement resolved maybe
Projects
None yet
Development

No branches or pull requests

2 participants