Reputation: 1811
When rendering a chart using JFreeChart, if there is a tick label near to the end of the horizontal axis the label is partially cut off at the border of the image, eg:
|
|
+----------+------------------+-
01 Jun 11 01 Jul <--- missing year
Is there any way that I can prevent this? It is possible to add some kind of margin or similar?
Thanks
Upvotes: 3
Views: 2726
Reputation: 205785
Assuming a DateAxis
, the parent ValueAxis
method setUpperMargin()
may suffice.
Upvotes: 3