Hi
I want to display a pie chart having same key name i.e.
DefaultPieDataset data = new DefaultPieDataset();
data.setValue("Category 1", new Double(43.2));
data.setValue("Category 1", new Double( 27.9));
data.setValue("Category 1", new Double(9.5));
data.setValue("Category 1", new Double(89.5));
data.setValue("Category 1", new Double(70.5));
When I run this code this gives a pie chart as a whole combining all the Category 1 values.
So it it possible to get all the Category 1 values displayed seperately on a pie chart.The problem is that I cant change the Category 1 to something else.
Thanks.
Gaurav.
need help with pie chart ,its urgent!!
-
- Posts: 4
- Joined: Tue May 23, 2006 10:29 pm
- Contact:
-
- Posts: 49
- Joined: Thu Jul 08, 2004 8:54 am
- Location: France