Page 1 of 1

Marks overlap & axis title cut off in chart

Posted: Fri Feb 06, 2015 12:24 am
by 10546565
2015.14.150120 32 bit VCL; Delphi XE2 & XE7

In the very simple attached demo there are a couple problems:

1) Marks overlap
2) Title on left axis, which includes a #13, is pushed off the side of the chart.

I don't believe was a problem in an earlier version. (I remember working the top margin so that the marks would not overlap).

If a patch is available, I would certainly appreciate it as I cannot release a build with this problem.

Thank you,

Ed Dressel

Re: Marks overlap & axis title cut off in chart

Posted: Fri Feb 06, 2015 11:33 am
by yeray
Hi Ed,

This is what I see when running your project here with the latest version:
v2015.14.png
v2015.14.png (14.51 KiB) Viewed 8471 times
And this is how it looks if I run it with TeeChart v8, activating GDIPlus to better compare:
v8.png
v8.png (16.22 KiB) Viewed 8467 times
TestAlways wrote:1) Marks overlap
Did you see this not happening in any specific TeeChart version?
I'd suggest you to implement some anti-overlapping system. I actually see I already suggested it to you. Have you tried it?
TestAlways wrote:2) Title on left axis, which includes a #13, is pushed off the side of the chart.
I see this was broken between v2013.08 and v2013.09:
v2013.08.png
v2013.08.png (9.18 KiB) Viewed 8460 times
v2013.09.png
v2013.09.png (11.05 KiB) Viewed 8464 times
I see this has been partially fixed in this last v2015.14 (see the first image in this post) but it seems the margin is still not perfectly calculated.
I've added it to the public tracking system:
http://bugs.teechart.net/show_bug.cgi?id=1124