PiePlot3D : how to center the chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
maximec
Posts: 4
Joined: Thu Mar 20, 2014 10:41 am
antibot: No, of course not.

PiePlot3D : how to center the chart

Post by maximec » Fri Mar 21, 2014 2:21 pm

Hello everybody,

I'm using the method : setCircular(true) on my PiePlot3D object. My chart is created by the ChartFactory.createPieChart3D static method.
When I use it to render the pie chart circular, the chart is not centered...

Does anybody knows why ?

Thanks.
Maxime C.

maximec
Posts: 4
Joined: Thu Mar 20, 2014 10:41 am
antibot: No, of course not.

Re: PiePlot3D : how to center the chart

Post by maximec » Fri Mar 21, 2014 3:52 pm

Solved by using

Code: Select all

ChartFactory.setChartTheme(StandardChartTheme.createLegacyTheme());
instead of

Code: Select all

ChartFactory.setChartTheme(new StandardChartTheme("JFree/Shadow", true));
Maxime C.

Locked