labels overlap legend
labels overlap legend
I have this problem that appears to be with fonts in labels on Unix systems. I'm using the charts with servlets, and when I generate a chart on a Windows server, things look fine. But on Unix systems, the date labels on my horizontal axis (the labels draw vertically, which is correct) sometimes either get chopped off or if there is a legend on the bottom, they might overlap the legend. Has anyone got a solution to this? Changing fonts somehow or whatever?
Re: labels overlap legend
In the code I assume that the width of the horizontal text will be the same as the height required when the text is rotated 90 degrees. That might be the source of the problem, but I'm not sure why the behaviour is different between Windows and Unix.
A workaround would be to increase the insets for the tick labels to give them more room - the top and bottom values are the important ones in this case.
Regards,
Dave Gilbert
A workaround would be to increase the insets for the tick labels to give them more room - the top and bottom values are the important ones in this case.
Regards,
Dave Gilbert