piechart problem

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

piechart problem

Post by zhengyu xia » Fri Feb 07, 2003 3:34 am

hi:
anyone help me,I want to create a pie chart.the chart is not whole the
pie,I want to divide the pie chart into some sectors.anyone will teach me how to do it

David Gilbert

Re: piechart problem

Post by David Gilbert » Fri Feb 07, 2003 1:03 pm

I'm not sure what you mean...

Regards,

Dave Gilbert

zhengyu xia

Re: piechart problem

Post by zhengyu xia » Sat Feb 08, 2003 7:25 am

My mean is that I want to create a separate pie chart.each data eara is a sector.If the aparts combine a whole circle.please help me how to do it.

socrateone
Posts: 13
Joined: Fri Apr 28, 2006 2:53 pm

Post by socrateone » Wed May 03, 2006 6:13 pm

Code: Select all

// the first argument is the index of the dataset (the piece of the pie)
// the second argument is the percent of the section is outside the circle. 
plot.setExplodePercent(1, 0.50);


Locked