Adding labels to a POINTS3D series

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Adrian
Advanced
Posts: 116
Joined: Thu Jun 23, 2005 4:00 am

Adding labels to a POINTS3D series

Post by Adrian » Mon Nov 13, 2006 4:12 am

I want to be able to add text labels to the X axis (at least) and preferably the Y and Z axis also.

I have tried

iPoint = serPoints3D.Add(oy)
serPoints3D(iPoint).Label = ox
serPoints3D(iPoint).Z = oz

where oy is my Y value (DOUBLE), oz is my Z value and ox is my character value for the X axis. It executes however I get number along the X axis.

Is there something else I can try?
Adrian Heald
Captell Developments
www.captelldevelopments.com

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 Nov 13, 2006 11:00 am

Hi Adrian,

Yes, set the axes labels style:

Code: Select all

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