Custom Y axis

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Cobb
Newbie
Newbie
Posts: 2
Joined: Wed Feb 22, 2006 12:00 am

Custom Y axis

Post by Cobb » Mon Feb 05, 2007 3:35 pm

I am having a problem with the starting the labels on the very edge of the chart area so that it is cutting off the labels.

The chart has one series and a custom Y axis. The chart control is set to fill the whole form. When the chart is displayed the labels for the Y axis are printing too far to the left and it is cutting off the values starting from the left.

Example: 1, 250 is shown as ,250.

Any ideas?

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

Post by Narcís » Mon Feb 05, 2007 4:53 pm

Hi Cobb,

With custom axes you need to set chart's margins, eg.:

Code: Select all

			tChart1.Panel.MarginLeft = 10;
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

Cobb
Newbie
Newbie
Posts: 2
Joined: Wed Feb 22, 2006 12:00 am

Post by Cobb » Mon Feb 05, 2007 5:01 pm

Excellent... thanks.

Post Reply