How to Show the total number in PieChart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
JSTART
Posts: 4
Joined: Tue Apr 13, 2004 8:32 am

How to Show the total number in PieChart

Post by JSTART » Sat Oct 23, 2004 1:29 am

I want show the total number in piechart

but I don't know how to do

and piechart can show the total number?

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 » Mon Oct 25, 2004 5:56 pm

It isn´t something the pie chart will display for you. If your chart is static, you could sum the values in the dataset then add the total as a subtitle on the chart.
David Gilbert
JFreeChart Project Leader

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

Locked