Left axis alignment and axis text formatting

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
BLP
Newbie
Newbie
Posts: 2
Joined: Tue Jun 07, 2005 4:00 am

Left axis alignment and axis text formatting

Post by BLP » Tue Oct 25, 2005 1:36 pm

I have three charts placed underneath eachother.. how do i align the left axis' of these?

How do i format the labels on the y-axis (left axis) such that the values align?
ex:
2,0
2,5
3,0
3,5

instead of:
2
2,5
3
3,5

Thanx :)

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 Oct 25, 2005 2:21 pm

Hi BLP,

The easiest way to align axes as you request is setting a custom size for its labels:

Code: Select all

			tChart1.Axes.Left.Labels.CustomSize=30;
			tChart2.Axes.Left.Labels.CustomSize=30;
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