Pie chart overlaped labels

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
innak
Posts: 5
Joined: Mon Nov 17, 2003 4:38 pm
Location: Canada

Pie chart overlaped labels

Post by innak » Wed Nov 19, 2003 6:53 pm

Hi,

How do I prevent pie section labels from overlaping?
Thank your for help.

alemjann
Posts: 31
Joined: Wed Aug 06, 2003 6:51 am
Location: Beijing

Post by alemjann » Thu Nov 20, 2003 8:08 am

1. make the labels smaller.
2. make the labels different colored.

Guest

Post by Guest » Mon Nov 24, 2003 4:42 am

Hello Dave,

The PiePlot class contains the minimumArcAngleToDraw member field. Upto version 0.9.14, if a slice has angle less than the minimumArcAngleToDraw, it is left as blank in the chart. Thus this feature is totally useless to user.
Can you concatenate all small blank slices together as an OTHER slice in the end of the chart? I think you only need to modify the PiePlot.drawPie() method to concatenate the small slices and modify the legend info.
If this feature is implemented, then most font overlap issues can be solved.

Thanks a lot.

Jay Chiu

alemjann
Posts: 31
Joined: Wed Aug 06, 2003 6:51 am
Location: Beijing

Post by alemjann » Tue Nov 25, 2003 2:12 am

Hi:
It's a great idea, I've been using it already, but display all slices is still useful, the better way is let the user to decide which slice to be displayed.

Locked