Page 1 of 1

Problem with labels rotation

Posted: Mon Mar 31, 2014 10:19 am
by 17768801
Hi, I've got a problem when rotating bottom axis labels. If Chart1.axes.bottom.labels.rotation = 0, everything is fine, but when I set it to 90, labels seem to move out to the left. So the first label in this case is not under the first point (axis tick), but have an offset from it to the left. The more points I draw in serie, the greater offset I get. When I zoom it looks better, because offset seems to remain the same amount of pixels from axis tick. Any thoughts?

Re: Problem with labels rotation

Posted: Mon Mar 31, 2014 12:11 pm
by yeray
Hello,

I guess the drawLabel could be improved in TeeChart Javascript to calculate the position of the rotated labels better than now.
I've added it to the wish list to be revised for further releases.
http://bugs.teechart.net/show_bug.cgi?id=688
Feel free to add your mail to the CC list to be automatically notified when an update arrives.

Re: Problem with labels rotation

Posted: Mon Mar 31, 2014 12:17 pm
by 17768801
OK, thanks