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 - Slices are not drawn and values are overlapping #3679

Closed
StanislavGg opened this issue Oct 4, 2018 · 2 comments
Closed

Pie Chart - Slices are not drawn and values are overlapping #3679

StanislavGg opened this issue Oct 4, 2018 · 2 comments

Comments

@StanislavGg
Copy link

StanislavGg commented Oct 4, 2018

Hello, im using the latest version of the framework and xCode version: 10.0.

What did you do?

Im populating values into a pie chart.

What did you expect to happen?

I expected to be able to draw slices for every value in the dataSet, with applied sliceSpace and without them overlapping.

What happened instead?

In case some of the values are lower than (for example) 0.02% of the total value, no slices are drawn for them, no slice space is applied and they overlap. If the values don't have such huge difference everything is being displayed just fine.

Is there a way to fix this, or am i doing something wrong?

Thanks in advance.
img_0016

@StanislavGg StanislavGg changed the title Slices are not drawn and values are overlapping Pie Chart - Slices are not drawn and values are overlapping Oct 4, 2018
@nikhilmaurya10
Copy link

I have the same problem. Additionally I can't figure out a way to hide labels which are used to create PieChartDataEntry, this label is used in legends as well as the marking on the slice. I just want to show the Y axis value on the slice.

@liuxuan30
Copy link
Member

it's never easy when you have a very small value and you need to draw two labels around the same position. You can choose to hide small value anyway. But I don't have a good idea how to avoid overlap. Need your help if you can come up with any solutions and file a PR.

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

3 participants