display labels of x axis vertically

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Neelam
Advanced
Posts: 193
Joined: Fri Jun 08, 2007 12:00 am

display labels of x axis vertically

Post by Neelam » Tue Nov 11, 2008 1:46 pm

How to display labels of x axis vertically instead of horizontally. Also how to set them diagonally or at a particular angle. Thanks

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 Nov 11, 2008 1:50 pm

Hi shikha,

You can use labels angle property:

Code: Select all

tChart1.Axes.Bottom.Labels.Angle = 90;
You can set them to any angle for them to be in diagonal.
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