Is there a way to force word wrapping for y-axis labels?
I have a long y-axis label that is taller than the plot itself; the beginning and ending of the label are currently falling outside of the chart.
I have tried using RectangleInsets and embedded '\n's, but no luck.
How to word wrap y-axis label?
Also a problem in combined charts.
I'm also encountering this problem in combined charts.
For example, I have a domain-based combined chart with several squat ranges stacked on top of each other. The y-axis labels of each range, because they do not wrap, overlap each other.
Thanks.
For example, I have a domain-based combined chart with several squat ranges stacked on top of each other. The y-axis labels of each range, because they do not wrap, overlap each other.
Thanks.
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Unfortunately there is no way around this at present.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

