How to retrieve bottom X value from Series Point?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
noaksey
Newbie
Newbie
Posts: 55
Joined: Wed May 23, 2007 12:00 am

How to retrieve bottom X value from Series Point?

Post by noaksey » Wed Nov 12, 2008 11:32 am

Basically I have a series and have used the nearest point tool to pick out the nearest points. I've got the Change event in place and have set it to write the Point property to the Debug output, which works.

However I could do with knowing what the corresponding X value is for that Point property is. So if Point is 10 and on the graph it's on 2.5 on the bottom X axis, I would like to retrieve the 2.5 value somehow, if possible?

Regards

Chris.

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

Post by Narcís » Wed Nov 12, 2008 11:52 am

Hi Chris,

I'm not 100% sure about what you are trying to do but you can try using something like this:

Code: Select all

			double value = line1.XValues[10];
If this doesn't help please give us some more details.

Thanks in advance.
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

noaksey
Newbie
Newbie
Posts: 55
Joined: Wed May 23, 2007 12:00 am

Post by noaksey » Wed Nov 12, 2008 12:20 pm

Nope that's bang on, cheers Narcís.

Post Reply