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

*PieChart* Get color of top 3 largest percent #2308

Closed
giathienpham opened this issue Mar 31, 2017 · 2 comments
Closed

*PieChart* Get color of top 3 largest percent #2308

giathienpham opened this issue Mar 31, 2017 · 2 comments

Comments

@giathienpham
Copy link

I want to show top 3 percent in legend. So how can I get the color of longest slice?
Thank you all.

@liuxuan30
Copy link
Member

liuxuan30 commented Apr 1, 2017

the library's legend don't have such feature if I am correct.
Just to get the top 3, this is not related, as the first color is for the first data value, so you can just get it directly.

@giathienpham
Copy link
Author

@liuxuan30 Got it. Thank you

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