Label on Charts being written to X Axis

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
alanmcd
Newbie
Newbie
Posts: 5
Joined: Thu Sep 27, 2012 12:00 am

Label on Charts being written to X Axis

Post by alanmcd » Tue Feb 26, 2013 12:24 am

I notice that labels on a DBChart are being written randomly along the X Axis as well as above the bars on a bar chart. Is there any fix for this?
See attachment - along the X axis, about 3 labels are overwriting the decalred x Axis trick marks.
Alan
Attachments
Event-3820-1.jpg
Event-3820-1.jpg (201.56 KiB) Viewed 5253 times

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

Re: Label on Charts being written to X Axis

Post by Yeray » Tue Feb 26, 2013 11:00 am

Hi Alan,

Do you have a simple example project we can run as-is to reproduce this here?
I think you could be using custom axis labels in the bottom axis. Doing it, the anti-overlap control should also be done by you.
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

alanmcd
Newbie
Newbie
Posts: 5
Joined: Thu Sep 27, 2012 12:00 am

Re: Label on Charts being written to X Axis

Post by alanmcd » Wed Feb 27, 2013 10:58 am

I don't have a break out of the issue from my app. It's not using custom labels, just a DB chart with one query field being used as the labels, one as the X and another used as the Bar value - DateTime as X and Bar.
but tell me what the anti-overlap control is? Is this a control? or something I need to exercise control over?
Alan

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

Re: Label on Charts being written to X Axis

Post by Yeray » Wed Feb 27, 2013 3:07 pm

Hi Alan,

TeeChart automatically controls (not a component, just the action of taking care) the axis labels and series marks overlapping except for custom labels, where the developer sets the label position and text.

Please, try to arrange a simple example project we can run as-is to reproduce the problem here.
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