problem with 3D pie chart

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

problem with 3D pie chart

Post by Bijith Rao » Mon Feb 10, 2003 11:43 pm

Hi..
I was trying to run the 3DPieChartDemo1.java example. However when I reduce the no. of entries in the DefaultPieDataset to less than 4 I get weird plots. Is there anywhere I need to specify the no. of elements in the set?? Looks like it works only for 4 elems..

thanks in advance..

-- B

David Gilbert

Re: problem with 3D pie chart

Post by David Gilbert » Tue Feb 11, 2003 10:03 am

I'm not seeing the same problem. Can you send me a screen-copy, and details of the changes you made to the demo app, so I can reproduce the problem?

Regards,

Dave Gilbert

David Gilbert

Re: problem with 3D pie chart

Post by David Gilbert » Tue Feb 11, 2003 11:22 pm

Thanks, I have your sample image and code. This is a bug in 0.9.4 that has been fixed in the 0.9.5 release.

Regards,

Dave Gilbert

Bijith Rao

Re: problem with 3D pie chart

Post by Bijith Rao » Wed Feb 12, 2003 12:30 am

ok I tried out the new release and it works. But I used to apply the setSeriesPaint method to my Pie3DPlot to set my own colors which does not work with the new release..

Is there a better way to paint the different sections of a pie chart?

thanks for your help..

-- Bijith

Locked