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

Labels and values in pie chart are hidden behind the pie chart segments #445

Open
GoogleCodeExporter opened this issue Jul 5, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.Draw a pie chart with labels and text values

What is the expected output? What do you see instead?
Labels and values should always be in front of the pie chart itself, but 
sometimes they are hidden behind it. The reason for this is because all 
segments together with their values and labels are drawn in order one after 
another so the segments drawn later are drawn "in front" of the labels and 
values of segments drawn earlier.

Please provide a source code snippet that we can use to replicate the
issue.
I've attached an example screenshot showing the problem.


What version of the product binary library are you using?
I'm using achartengine source from SVN revision 569

Please provide any additional information below.
I've attached a patch with a fix for this issue. The fix basically delays 
drawing of all the text (labels and values) after all the pie segments are 
drawn.


Original issue reported on code.google.com by [email protected] on 23 Oct 2014 at 8:52

Attachments:

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

No branches or pull requests

1 participant