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

Only allow slice space for the selected item in a pie chart #2278

Closed
nwtsai opened this issue Mar 24, 2017 · 5 comments
Closed

Only allow slice space for the selected item in a pie chart #2278

nwtsai opened this issue Mar 24, 2017 · 5 comments

Comments

@nwtsai
Copy link

nwtsai commented Mar 24, 2017

How do you do this? I see the screenshot on the README of just the selected piece being separated from the rest of the chart, but it seems like only PieChartDataSet has a .sliceSpace, but this value will set the slice space for the entire chart. Thanks!

@liuxuan30
Copy link
Member

liuxuan30 commented Mar 27, 2017

have no idea what are you asking. You seem self answered.

@nwtsai
Copy link
Author

nwtsai commented Mar 27, 2017

Hey, thanks for the reply. Does this help clarify the question?
Thanks!

@liuxuan30
Copy link
Member

Still, pieChartDataSet.sliceSpace is the property for highlight and other rendering. I don't know why it bothers. pie chart should only have one data set if I remember correctly.

@patwhitehead1
Copy link

I don't think this question has been clearly answered, but the issue is closed. @nwtsai were you able to figure this out? I've got the same issue.

@JorgeLuisR-97
Copy link

@liuxuan30 What is the solution for add slice spacing only for the selected item? Currently, pieChartDataSet.sliceSpace adds space to all elements

@nwtsai and @patwhitehead1 were you able to figure this out? I've got the same issue

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

4 participants