DefaultPieDataset result = new DefaultPieDataset();
result.setValue( "Test", 91.76 );
JFreeChart chart2 = ChartFactory.createPieChart3D( "", result, true, true, true );
PiePlot3D plot2 = (PiePlot3D) chart.getPlot();
plot2.setStartAngle( 180 );
plot2.setDirection( Rotation.CLOCKWISE );
3D Chart for specific single value is not proper.
If value is changed to 91.77 generated chart is proper.
How to get it work properly for all values.
3D Piechart is not proper for specific Single Value.
-
- Posts: 1634
- Joined: Sat Feb 17, 2007 1:51 pm
Re: 3D Piechart is not proper for specific Single Value.
Define "proper".