After downloading and installing the latest jars (9.3 and 7.0), the 3d Pie Chart is no longer working. I save to a .jpg and it saves it to a 0 byte file. With 9.2 and 6.4, everything worked fine. Has anyone seen this behavior or come up with a fix for the problem?
Michael Jacobs
3D Pie Chart not working with 9.3
Re: 3D Pie Chart not working with 9.3
It appears the later version of the Pie3dPlot is not checking for null when it encounters a null arc (0 value). The 9.2 version is:
if (arc == null || arc.getAngleStart() + arc.getAngleExtent() < 180)
continue;
Version 9.3 does not have any such line, so it is encountering a null pointer because of it.
Michael
if (arc == null || arc.getAngleStart() + arc.getAngleExtent() < 180)
continue;
Version 9.3 does not have any such line, so it is encountering a null pointer because of it.
Michael
Re: 3D Pie Chart not working with 9.3
Hi Michael,
Thanks for the report. I made some changes to this class for 0.9.3 to get it to use the start angle and direction, but it looks like I broke it in the process. I'll fix it...
Regards,
DG.
Thanks for the report. I made some changes to this class for 0.9.3 to get it to use the start angle and direction, but it looks like I broke it in the process. I'll fix it...
Regards,
DG.
Re: 3D Pie Chart not working with 9.3
It appears to be a simple fix. I added a single line checking for null similar to the way 9.2 did it and all was well.