Display end (maximum) label on bottom axis of a webchart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
RonenL
Newbie
Newbie
Posts: 10
Joined: Wed Jul 04, 2007 12:00 am

Display end (maximum) label on bottom axis of a webchart

Post by RonenL » Thu Dec 20, 2007 2:24 pm

Hi,
I have a webchart that displays time labels on the bottom axis.
I want a label displayed at the very start (min value) and the very end of the axis (max value). I set

Code: Select all

tChart.Axes.Bottom.Labels.OnAxis = true;
But only the label at the start of the axis is displayed.
The label at the end of the axis is not displayed.
How do I make the webchart show the end label?

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

Post by Narcís » Thu Dec 20, 2007 5:00 pm

Hi MeirS,

You could try adding the line below to your code.

Code: Select all

			tChart1.Axes.Bottom.Labels.CustomSize = 0;
Hope this helps!
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