Page 1 of 1

Axis Title Overlaps the Axis lables

Posted: Wed Apr 11, 2007 8:52 am
by 9788742
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

Posted: Wed Apr 11, 2007 9:39 am
by narcis
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;

THANKS FOR THE LINK

Posted: Wed Apr 11, 2007 10:40 am
by 9788742
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 !!!

The 50 wont work always .

Posted: Wed Apr 11, 2007 12:33 pm
by 9788742
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.