Well.
I would suggest a different approach. Without thinking about how to fix this in jfreechart graphics, I think you can easily do this using the java swing layout (for example: GridBagLayout ).
Add a ChartPanel to the rotation panel and set the layout to GridBagLayout .
Hope this helps.
source share