How to display more information in PieChart's label

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
alemjann
Posts: 31
Joined: Wed Aug 06, 2003 6:51 am
Location: Beijing

How to display more information in PieChart's label

Post by alemjann » Wed Oct 22, 2003 11:07 am

I have to let the PieChart display 4 kinds of data(value, percent, fee, realfee) at the label area. Is there any key suggestion? I really got no idea of the solution. I tried to let the 'Key' in the legend indicate the addition data, but it seems I can't put a '\n' in the keys.
Last edited by alemjann on Tue Oct 28, 2003 9:12 am, edited 1 time in total.

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

Post by alemjann » Tue Oct 28, 2003 9:06 am

Hope the image below will make my question more comprehensible.
the label I get currently is like the one in the red circle, and what i want is the one in the blue circle.
There is only one key data, the other three are computed from the key data.

Image
Last edited by alemjann on Thu Nov 13, 2003 2:37 am, edited 2 times in total.

Matthias
Posts: 42
Joined: Fri Apr 18, 2003 9:49 am
Location: Germany

Post by Matthias » Tue Oct 28, 2003 1:38 pm

Just to inform you: I can't see the image (just a small red cross; if you find the reason tell me, since I had a similar problem once).

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

Post by alemjann » Fri Nov 07, 2003 8:53 am

Hi Matthias:
I don't know why you can see the image, I can see it.

Is there anyone else can/can't see the image?

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 Nov 07, 2003 5:44 pm

I don't see the image either.
David Gilbert
JFreeChart Project Leader

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

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

Post by alemjann » Thu Nov 13, 2003 2:38 am

How about the image now, anyone can see it?

Guest

I can see but I don't know how to do……

Post by Guest » Thu Nov 13, 2003 7:06 am

I can see the chart clearly,but I don't know how to show the label as you given in the picture. I tried to add more infomation in the label ,but it can't locate in another line,just continued in the same line.

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

Post by alemjann » Thu Nov 13, 2003 7:22 am

For now, I can only display the extra data in the legend. It works well but makes the legend verbose. Any way, thank you David, Matthias and the Guests.

Matthias
Posts: 42
Joined: Fri Apr 18, 2003 9:49 am
Location: Germany

Post by Matthias » Thu Nov 13, 2003 2:23 pm

Perhaps this helps: http://www.jfree.org/phpBB2/viewtopic.php?p=12221

(And what did you do/change to show the image now :?: )

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

Post by alemjann » Fri Nov 14, 2003 2:14 am

Hi Mattias,
I just put my image on another website. The first website astricts the direct visiting from outside the website. I wonder if this formu has the functionality to upload images directly when you can't provide a url.

Locked