Move custom axis labels

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Bernhard Hard
Newbie
Newbie
Posts: 9
Joined: Fri Mar 14, 2008 12:00 am

Move custom axis labels

Post by Bernhard Hard » Tue Mar 31, 2009 12:41 pm

Hi support team,

we are using a custom X-axis with datetime-values. The labels are rotated (using the CustomAxis.Labels.Angle property). Now we want to move the labels a bit away from the bottom axis.

You told us about bug [TF02013670] - if it is not possible to move the Labels.Items easily, you told us already a solution: Create a bunch of annotations and copy all properties. But in this case, how can we rotate these annotations ?

With regards,
Chris

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

Post by Narcís » Tue Mar 31, 2009 3:12 pm

Hi Chris,

I'm afraid Annotation tool doesn't support rotation. In that case I recommend you to try using RotateLabel method instead, for example:

Code: Select all

			tChart1.Graphics3D.RotateLabel(x, y, text, rotDegree);
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

Post Reply