
Axes Spacing
Axes Spacing
How do I control the spacing between multiple axes? Also, how do I control the color of the tick marks and tick vertical line (the gray) of each axis. Look at picture for reference:


-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
One way to change the spacing is to call the setLabelInsets() method on each axis. This only changes the spacing around the axis label, but that does also affect the position of the next axis drawn.
And setTickMarkPaint() and setAxisLinePaint() will control the colour of the axis line and tick marks.
And setTickMarkPaint() and setAxisLinePaint() will control the colour of the axis line and tick marks.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

