Axis Title Overlaps the Axis lables

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Lakshmi
Newbie
Newbie
Posts: 40
Joined: Fri Oct 07, 2005 4:00 am
Location: India
Contact:

Axis Title Overlaps the Axis lables

Post by Lakshmi » Wed Apr 11, 2007 8:52 am

H,

When i change the orientation angle of the axis title to any angle between 1 and 89 degrees, the Axis Title text overlaps with the Axisl Label.

Similar behavior can be seen at angle between 180 and 360

The Texts do not over lap when the Angle is either 0 or 90, or beween 90 and 180.

Whats going on ? How can this be corrected ?

Regards

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Apr 11, 2007 9:39 am

Hi Lakshmi,

Could you please read this thread about a similar issue?

If this doesn't help you could also try setting labels height, for example:

Code: Select all

			tChart1.Axes.Bottom.Labels.Height = 50;
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Lakshmi
Newbie
Newbie
Posts: 40
Joined: Fri Oct 07, 2005 4:00 am
Location: India
Contact:

THANKS FOR THE LINK

Post by Lakshmi » Wed Apr 11, 2007 10:40 am

However the 'Labels.Height' property does not help,

Rather to make the size of the lables constant we need to set the following property up.

Code: Select all

          axis.Labels.CustomSize = 50;         
This ends up adjusting the space between left axis title and left axis values(labels).


Strange that we have to do this .. but it works !!!

Lakshmi
Newbie
Newbie
Posts: 40
Joined: Fri Oct 07, 2005 4:00 am
Location: India
Contact:

The 50 wont work always .

Post by Lakshmi » Wed Apr 11, 2007 12:33 pm

The custom size that needs to be set, depends upon the angle as well as the length of the Axis Title.

If the axis title length exceeds a certain value then 50 wont suffice.!! can there be a logical solution to this.

Post Reply