ana_abrantes Posted December 23, 2006 Share Posted December 23, 2006 I searched for an answer but without success.So I'm posting my doubt hoping that someone could help me.In fact, there 2 problems when I use bar chart.1) if I use orientation=vertical, the axis label are truncated if too big;2) if I use orientation=horizontal, the chart label of the biggest column is truncated on the right.Please, can someone help me with this ? Link to comment Share on other sites More sharing options...
jmurray Posted December 23, 2006 Share Posted December 23, 2006 In my experience it's actually worse than that in that even short labels get truncated. Unfortunately it's not an iReport or JasperReports issue. It appears to be a bug in jfreechart. The old version worked incredibly well, but the new version is just plain ugly and (as you point out) not very good at doing the labels. Link to comment Share on other sites More sharing options...
jmurray Posted December 27, 2006 Share Posted December 27, 2006 You could also change the font for the "Tick Labels" for the appropriate axis. Select a narrow font (like arial) and/or use a small font size. Link to comment Share on other sites More sharing options...
jmurray Posted January 4, 2007 Share Posted January 4, 2007 there is a small gotcha with setting the Tick label font/fontsize: your settings won't be applied unless you first set font/fontsize for the Value or Category Label that they are associated with. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now