Need help in Axes label

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
vivek
Newbie
Newbie
Posts: 40
Joined: Thu Jul 19, 2007 12:00 am

Need help in Axes label

Post by vivek » Wed Sep 09, 2009 10:49 am

Hi,

I am getting string format labels when i add string in box/points.
I am using the following code.

points1.Add(1, 10,"x=10");
points1.Add(2, 20, "x=20");
points1.Add(3, 30, "x=30");

horizBox1.Add(1, 10);
horizBox1.Add(2, 20);
horizBox1.Add(3, 30);
// horizLine1.Add(1, 10, "y=10");
// horizLine1.Add(2, 20, "y=20");
// horizLine1.Add(3, 30, "y=30");

How to show X/Y values instead of string in Axes?

With Regards,
Vivek.J

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

Re: Need help in Axes label

Post by Narcís » Wed Sep 09, 2009 11:10 am

Hi Vivek,

You can set labels style to display values:

Code: Select all

			tChart1.Axes.Bottom.Labels.Style = Steema.TeeChart.AxisLabelStyle.Value;
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