customize a plot

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
mkleen
Posts: 6
Joined: Mon Oct 18, 2004 4:13 pm

customize a plot

Post by mkleen » Mon Oct 18, 2004 4:15 pm

hello,

i got different plots (a xyseriesplot and a barcharplot) and i want them that the plot is in the same size. the barcharplot is always a bit longer than the xy-series. does anyone how can customize this ?

thank you for time,

michael

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Mon Oct 18, 2004 5:46 pm

This is one of the things that is hard to do with JFreeChart, unfortunately. The best you can manage is to mess around with the setFixedRangeAxisSpace() method (in the plot) to get the two to align. It's not a great solution, just a workaround...
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

mkleen
Posts: 6
Joined: Mon Oct 18, 2004 4:13 pm

Post by mkleen » Tue Oct 19, 2004 5:45 pm

thank you now it's working ...

Locked