Distance between axis labels and axis

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
nathan
Newbie
Newbie
Posts: 10
Joined: Mon Feb 16, 2004 5:00 am

Distance between axis labels and axis

Post by nathan » Mon Nov 15, 2004 2:45 pm

Apologies in advance if this is covered in the documentation - I'm still getting to grips with the large number of objects and properties ... Basically, I'd like to know if there is a way to increase the distance between the axis labels and the axis. [The CustomSize property seems to increase the distance between the axis labels and the axis title.]

The reason I'm asking is that I'm producing 3D charts, and the labels for different axes sometimes overlap - e.g. the minimum values on the Bottom and Left axes, and the maximum and minimum values on the Bottom and Depth axes respectively. Whilst this is primarily a cosmetic issue, it is an important one for us, as the charts are used for presentations and management reports. Unfortunately, not displaying the minimum and/or maximum values is not an option; neither is setting the MinimumOffset and MaximumOffset properties - although this alleviates the problem, it necessarily adds a margin around the plotted surfaces, and this is not acceptable for our purposes.

Also, there seems to be a problem with the TChart.Aspect.ZoomText property. When this is set to true, all text resizes appropriately when zooming *except for the title of the vertical [Left] axis*. (This is not a major issue for me, since my workaround of adjusting the font size for this axis title according to the Zoom percentage seems to work okay!)

Thanks in advance for any suggestions you can offer.

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

Post by Pep » Mon Nov 15, 2004 3:29 pm

Hi Nathan,
Apologies in advance if this is covered in the documentation - I'm still getting to grips with the large number of objects and properties ... Basically, I'd like to know if there is a way to increase the distance between the axis labels and the axis. [The CustomSize property seems to increase the distance between the axis labels and the axis title.]
you can change the distance increasing the tick lengh :
tChart1.Axes.Bottom.Ticks.Length = 50;
Also, there seems to be a problem with the TChart.Aspect.ZoomText property. When this is set to true, all text resizes appropriately when zooming *except for the title of the vertical [Left] axis*. (This is not a major issue for me, since my workaround of adjusting the font size for this axis title according to the Zoom percentage seems to work okay!)
Yes, you're correct, it's a bug. I've added it on our defect list and a fix for it will be considered to inclusion for the next maintenance releases.
Thanks for the report.

nathan
Newbie
Newbie
Posts: 10
Joined: Mon Feb 16, 2004 5:00 am

Post by nathan » Mon Nov 15, 2004 5:18 pm

Many thanks for the prompt and helpful reponse - that does the trick!

Post Reply