3D Piechart is not proper for specific Single Value.

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
alkom
Posts: 1
Joined: Wed Aug 02, 2017 11:43 am
antibot: No, of course not.

3D Piechart is not proper for specific Single Value.

Post by alkom » Wed Aug 02, 2017 11:56 am

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.

paradoxoff
Posts: 1634
Joined: Sat Feb 17, 2007 1:51 pm

Re: 3D Piechart is not proper for specific Single Value.

Post by paradoxoff » Wed Aug 02, 2017 4:02 pm

Define "proper".

Locked