In Jasper Reports 3.1.4, PieChart 3d renders segments in the same order as in the dataset. In 3.5.3, the order is altered, not the same as in the dataset.
I am attaching input source pieorder.xml, the report pieorder.jrxml, and two outputs: piechartbug-314.pdf and piechartbug-353.pdf filled and rendered with Jasper Reports 3.1.4 and 3.5.3, correspondingly.
jasper report
input file
report rendered with 3.1.4
report rendered with 3.5.3
Also, see https://sourceforge.net/tracker/?func=detail&aid=2833391&group_id=15494&atid=115494
I am guessing an unordered hashtable is screwing up the order somewhere. Both versions of Jasper Reports that I tested are using the same jfreechart library, so that's not the culprit.
This was meant to be a Jasper Report bug, not JFreeChart. Wrong issue tracker, sorry.