Hi,
I have multiple graphs in which the x and y grids spacing is expected to be of same size. Is there a way i can control the dataarea of the plot. Any pointers how i can go about doing this.
Thanks,
Vijay
set size of chart data area.
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
This something that JFreeChart makes difficult unfortunately, because the data area is calculated as the space remaining after the titles, legend and axes have been laid out. You can sometimes fudge the correct result using the setFixedDimension() method in the Axis class, but that means you have to calculate the widest/tallest axis yourself, which is not a very clean solution.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

