Piechart Labels

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Tom

Piechart Labels

Post by Tom » Mon Nov 04, 2002 2:13 pm

Hello,
How can I get labels readable, that are aranged one upon an otherone?
Thank You

Dave Gilbert

Re: Piechart Labels

Post by Dave Gilbert » Tue Nov 05, 2002 10:14 am

Hi Tom,

There is no checking for overlapping labels at present. It is an area of JFreeChart that can definitely be improved, it is just a matter of finding the time to work on the code.

I can think of a few ways to approach the solution. One is to set a minimum threshold for the pie section size (say 5%). Any sections smaller than this would be aggregated into a single 'Other' section.

Other suggestions are welcome...

Regards,

DG

Locked