Marks overlap & axis title cut off in chart

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
TestAlways
Advanced
Posts: 228
Joined: Tue Aug 28, 2007 12:00 am
Location: Oregon, USA

Marks overlap & axis title cut off in chart

Post by TestAlways » Fri Feb 06, 2015 12:24 am

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
Attachments
Marks Overlap.rar
(89.54 KiB) Downloaded 895 times

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Marks overlap & axis title cut off in chart

Post by Yeray » Fri Feb 06, 2015 11:33 am

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 8470 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 8466 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 8459 times
v2013.09.png
v2013.09.png (11.05 KiB) Viewed 8463 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
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply