Ticket #32 (new defect)

Opened 3 years ago

Last modified 3 years ago

Labels overlaping in pie chart

Reported by: Leandro Regueiro Owned by: somebody
Priority: major Milestone: 0.5.0
Component: component1 Version: 2.0
Keywords: pie, overlaping Cc:

Description

As you could see in the attached image there is overlaping in the labels. This overlaping only occurs when there are a big slice and several minor slices.

Adam Przywecki suggested: "I think the easiest temporary "fix" would be to allow hiding the labels on the actual pie (the labels would be in the legend). Then, the pie would only have the percentages."

Lorenzo Gil also said: "Another possible solution would be to allow the ticks to rotate as we do in other charts but this will be quite more difficult to get it right for the user and developer. Finally, the 'right' solution would be to compute the bounding box for each label and avoid 'label collisions' by placing the labels further away from the center of the axis."

In the case of Adam solution I suggest to put the percentages also in the legend.

But I really think the best solution (apart from Lorenzo's one) is the Google solution http://chart.apis.google.com/chart?chs=600x300&chco=00FF00,fe9300,&chd=t:135,1,1,1,30&cht=p3&chl=gardar|gravar|guardar|un|dous althougth in this example it doesn't work very well.

Bye

Attachments

pycha_bad.png (89.5 kB) - added by anonymous 3 years ago.

Change History

Changed 3 years ago by anonymous

Note: See TracTickets for help on using tickets.