Keep aspect ratio on autorange

A discussion forum for JFreeChart (a 2D chart library for the Java platform).

Keep aspect ratio on autorange

Postby svobodav » Wed Nov 22, 2017 2:27 pm

is there easy way to keep aspect ratio on chartPanel.restoreAutoBounds();? I have my own method for aspect ratio, but when I call it after autoBounds, objects in chart sometimes overflow out of visible area. I use XYLineChart. Thanks
Posts: 1
Joined: Wed Nov 22, 2017 2:17 pm

Re: Keep aspect ratio on autorange

Postby John Matthews » Thu Nov 23, 2017 2:38 pm

Cross-posted here.
John Matthews
Posts: 400
Joined: Wed Sep 12, 2007 3:18 pm

Return to JFreeChart

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 6 guests