Page 1 of 1

How to retrieve bottom X value from Series Point?

Posted: Wed Nov 12, 2008 11:32 am
by 14045263
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.

Posted: Wed Nov 12, 2008 11:52 am
by narcis
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.

Posted: Wed Nov 12, 2008 12:20 pm
by 14045263
Nope that's bang on, cheers NarcĂ­s.