Deal with overlapping legends in pie charts
Reported by Virgil Dupras | September 25th, 2012 @ 10:25 PM
In the spirit of #122, there's one specific aspect of charts that could be improved: overlapping legends in pie charts. With small enough slices, the legends overlap. If there's only two overlapping legends, moneyGuru manages to deal with it, but more than that and we're lost.
Previously dealing with it was complicated because it happened in the GUI layer and that the pie chart drawing code in Objective C was already complex enough, but now that drawing happens in the core, it should be simple enough to do it.
What I'm thinking about is a 2-cases scenario:
- No legend overlap. Keep things as they were.
- Any legend overlapping? Go in "Crowded mode".
When in Crowded mode, all legends are pushed to the left and right side (depending on which side they were on previously) and then simply distributed evenly on the Y axis.
Comments and changes to this ticket
-
Virgil Dupras October 4th, 2012 @ 05:01 PM
- Assigned user set to Virgil Dupras
-
Virgil Dupras October 4th, 2012 @ 06:30 PM
- State changed from accepted to fixed
-
Virgil Dupras October 4th, 2012 @ 06:47 PM
(from [881a95a046f5]) [#344 state:fixed] Improved pie chart drawing in situations of legend overlapping. https://bitbucket.org/hsoft/moneyguru/changeset/881a95a046f5/
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
People watching this ticket
Referenced by
- 122 Improve graph readability I have just spawned #344 from this ticket to deal with ov...