Axis Label is overlapping Axis Title

TeeChart for ActiveX, COM and ASP
Post Reply
SS
Newbie
Newbie
Posts: 27
Joined: Thu Nov 27, 2003 5:00 am
Location: Chicago

Axis Label is overlapping Axis Title

Post by SS » Wed Mar 10, 2004 9:06 pm

Has anyone seen this behavior before.

I am generateing a chart that uses strictly custom axes, and when the chart is generated the axis label is overlapping the axis title. This makes the axis title unreadable. I have the title size property for each axis set to zero, I tried setting this to another value, but it had no effect. For the x axis, the labels are set at an angle of 90 degrees and on the y axis the title is set at a 90 degree.

Does anyone have any idea what is going on here?
Thanks

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

Post by Pep » Thu Mar 11, 2004 10:49 am

Hi,

to solve this you must increase the Axis labels size using :
tChart1.Axis.Bottom.Labels.Size = X

FP
Newbie
Newbie
Posts: 14
Joined: Mon May 17, 2004 4:00 am

Axis Labels Size

Post by FP » Mon May 24, 2004 11:14 am

Will there be a solution to the "axis labels overlapping axis title" problem?

My labels more or less always overlap the axis title when axis values are large or when using the OnGetAxisLabel event to override axis labels (using axis.labels.width=0)

If the automatic width of the labels where calculated after the OnGetAxisLabel was triggered for all labels then probably everything would be fine.

/ Fredrik

Post Reply