Pie chart labels

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

Pie chart labels

Post by cequadrat » Tue Apr 13, 2004 1:30 pm

I 've some problems with labels in a pie chart.
In some cases the labels overlap each other. Are there possibilities to arrange the labels manually?

I read that this problem should be solved in 0.9.17. But I'm using this version and the problem appears.

I can't upload screenshots but here are the values:
Category 1: 83%
Category 2: 13%
Category 3: 4%
Category 4: 1%
Category 5: 0%

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Wed Apr 14, 2004 11:51 am

I tried creating a pie chart with those values and didn't see any problem, can you e-mail me a screenshot?
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

gko@bear.com

Post by gko@bear.com » Wed Apr 14, 2004 7:17 pm

I have the same problem if the size is smaller than 500*400 with pie chart.
And I can not find my title of chart.
[/img]

cequadrat

Post by cequadrat » Thu Apr 15, 2004 9:36 am

I've the same problem that I can't see the title. The size of my chart is 350*450.

David, I sent you an example.

phani_vuppala
Posts: 4
Joined: Fri Apr 09, 2004 8:28 am

Post by phani_vuppala » Thu Apr 15, 2004 2:05 pm

Hi :

I too am trying pie chart. My os is SunSolaris.

I am able to show the pie chart.. but the title of the graph is not displayed and also the boxes around the values are not displayed.

Any solution will be greatly helpful

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Fri Apr 16, 2004 9:58 am

I've had one report that this problem is fixed with the 0.9.18 release (which was posted on SourceForge yesterday). So give that a try and let me know if it works.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Guest

Post by Guest » Mon Apr 19, 2004 5:58 pm

David,

I have post a patch http://sourceforge.net/tracker/index.ph ... tid=315494 for detecting label overlapping problem. I used this patch mainly for XYPlot. But I think it can be used for any kind of plot. Can you take a look to see if it can be integrated into futurerelease (0.9.19 or .20)?

gko

Post by gko » Tue Apr 20, 2004 2:17 pm

David,
The title and label are working perfect now with 0.9.18.zip.
Thanks a lot!

Locked