Specifying Axis margin

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Post Reply
Posts: 2
Joined: Mon Feb 24, 2020 4:15 am
antibot: No, of course not.

Specifying Axis margin

Post by linedadelas » Mon Feb 24, 2020 4:17 am


First, thank you for that great control. I bought the documentation and had a look at it but couldn't find an answer to my question (sorry, I didn't read it in all details, so maybe I missed what I was looking for).

I would like to be able to specify a fixed margin for the axis (by margin I mean everything: white space, labels, ticks, space between axis and plot, ...). In fact my requirement is that the plot area needs to be aligned with another part of my application (in fact, the top and bottom lines of the plot have to be aligned). Is there a way to achieve this ? This is something I really need for my application .

Is there a way to achieve this in any way ?

Thank you

Post Reply