Setting width of the Axis

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Markus
Newbie
Newbie
Posts: 2
Joined: Mon Oct 11, 2010 12:00 am

Setting width of the Axis

Post by Markus » Fri May 20, 2011 4:09 pm

In my window I have two Tcharts next to each other (Top and Bottom). However the range of the Y Axis is different for the two. Y Axis range for one is: -20 to -110 and for another: 10 to -50. Since the max value for one is 3 digits, it takes more space then the another one, thus the two charts are not aligned. (See the attached image)

Is there a way I can set the width of the Axis labels, so that the two charts are aligned?
Attachments
TChartIssue.PNG
TChartIssue.PNG (30.53 KiB) Viewed 2839 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Setting width of the Axis

Post by Sandra » Mon May 23, 2011 10:30 am

Hello Markus,

I recommend take a look in next link where you can find a solution to set correctly max label width.

I hope will helps.

Thanks,
Best Regards,
Sandra Pazos / 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

Markus
Newbie
Newbie
Posts: 2
Joined: Mon Oct 11, 2010 12:00 am

Re: Setting width of the Axis

Post by Markus » Tue May 24, 2011 8:38 pm

The Link that you provide works fine. Thanks.

Post Reply