When I wrote my own pie chart drawing program, I referenced this file,
but I found an error, I think it is a bug in Pie3DPlot.java Line 600, if you
don't believe, please modify the code and only draw the bottom ellipse,
the back part and the front part, you will agree with me.
I rectify it from A to B as followings:
A: Area side1 = new Area(
new Rectangle2D.Double(arc.getStartPoint().getX(), plotArea.getY(),
plotArea.getX()-arc.getStartPoint().getX(),
plotArea.getHeight()));
B: Area side1 = new Area(
new Rectangle2D.Double(plotArea.getX(), plotArea.getY(),
arc.getStartPoint().getX()-plotArea.getX(),
plotArea.getHeight()));
if you have interest to disscuss with me, please write to me.
Email: <BR>
<a href="mailto:kangx@smartcomm.com.cn">Xun Kang</a> <BR>
I found a bug in Pie3DPlot.java
Re: I found a bug in Pie3DPlot.java
You might be right, I'll have to take a closer look...
Regards,
DG.
Regards,
DG.
Re: I found a bug in Pie3DPlot.java
I took a closer look, and you are correct. I've added your fix to the source tree, and also a couple of other similar fixes which show up if you change the orientation of the pie chart to ANTICLOCKWISE.
Thanks for the report...
Regards,
DG.
Thanks for the report...
Regards,
DG.