Hello,
First i want to thanks David for his very usefull API.
I have to use Eastwood to make an offline demo version of my webapp so i try to obtain as far as possible the same render than Google API without modification.
It works almost fine but i have a graphic bug with my x-axis because it's too long :
rtone.fr/images/chart_eastwood.jpg
There's no problem with Google API.
rtone.fr/images/chart_google.jpg
Is it possible to fix it ?
Thanks a lot and sorry for my horrible english
Problem with long x-axis label
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
One option to fix this would be to right align the right-most tick label instead of centering it on the tick mark. This would then require some other changes to ensure that the right-aligned label doesn't overlap with the preceding label...it's tricky. I'll come back to this.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
Re: Problem with long x-axis label
Same problem here, i'm using date for my label and half of the last one is hidden.
Another option to fix this is to apply margin (&chma=) but it's not implented yet
Another option to fix this is to apply margin (&chma=) but it's not implented yet
Re: Problem with long x-axis label
I was going to post about a new topic but I think my problem actually relates to this.
My x-label (in this case day of month) is currently wrapping so that instead of "30", it becomes "3" with a "0" below it. I guess the easiest way to fix this would be to reduce font size, but obviously 'chxs' (axis styles) has not been implemented yet? Is it so that currently my only option to set font size would be to do it using init-params?
Thanks for your help in advance, and for the great project!
My x-label (in this case day of month) is currently wrapping so that instead of "30", it becomes "3" with a "0" below it. I guess the easiest way to fix this would be to reduce font size, but obviously 'chxs' (axis styles) has not been implemented yet? Is it so that currently my only option to set font size would be to do it using init-params?
Thanks for your help in advance, and for the great project!