Axis title still clashes with axis labels in V7

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Steve Sidwell
Newbie
Newbie
Posts: 5
Joined: Tue Jan 07, 2003 5:00 am
Location: Florida

Axis title still clashes with axis labels in V7

Post by Steve Sidwell » Sat Mar 13, 2004 3:55 pm

The bug where the axis labels clash (overwrite each other) that was reported in V6 is still in Version 7. When a lineseries graph is scrolled Teechart uses the with of the topmost label to calculate where to draw the axis label instead of the widest label.

Is this ever going to be fixed?

Thanks

Steve Sidwell

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Mar 15, 2004 5:03 pm

Hi Steve,
I'm sorry, I'm not sure what defect do you mean. Could you please tell me the steps I must do to reproduce it ?

Steve Sidwell
Newbie
Newbie
Posts: 5
Joined: Tue Jan 07, 2003 5:00 am
Location: Florida

Post by Steve Sidwell » Mon Mar 15, 2004 6:07 pm

If all the vertical axis labels are not the same text width e.g. "77","77.1"."77.2"... "78" then Teechart uses the width of the last label at the top of the axis, in this case "78", to calulate the horizontal space it should leave for the axis title. If the label next to the axis title is wider than the top label then the title overwrites the label next to it.
If you can send me an email address I'll send you a screen shot.

Thanks

Steve Sidwell

Marjan
Site Admin
Site Admin
Posts: 745
Joined: Fri Nov 07, 2003 5:00 am
Location: Slovenia
Contact:

Post by Marjan » Tue Mar 16, 2004 5:47 am

Hi, Steve.

You can send it to marjan@steema.com email address. Thanks.
Marjan Slatinek,
http://www.steema.com

Marjan
Site Admin
Site Admin
Posts: 745
Joined: Fri Nov 07, 2003 5:00 am
Location: Slovenia
Contact:

Post by Marjan » Tue Mar 16, 2004 4:17 pm

Hi, Steve.

Ok, got the image. I'll log it to our bug list (together with image) so that it can be addressed in future TeeChart releases. Thanks again.

A temporary workaround is to do this manually i.e. calculate the largest width manually and then adjust axis label size.
Marjan Slatinek,
http://www.steema.com

Steve Sidwell
Newbie
Newbie
Posts: 5
Joined: Tue Jan 07, 2003 5:00 am
Location: Florida

Post by Steve Sidwell » Tue Mar 16, 2004 7:11 pm

Thanks,
how can I find out exactly what labels Teechart is going to draw?

Steve

Post Reply