07-21-2009 03:56 AM
Hello,
I'm currently using a CWGraph object to draw curves for a spectrometer from a log file. I'm trying to use a cursor that user can move on the X-axis which gives the value of the different plots. Unfortunately I can't find any way to select a given plot at a given X value. I'm providing you a screenshot that may help you understant my issue :
http://img29.imageshack.us/i/cwgraph.jpg/
So I'd like to have the text boxes on the right to fil in with the values given by the positionning of the cursor, but i can't find a way to select a specific plot under the cursor so i'm kinda stuck.
Thanks in advance for your help, I know it may look a bit unprecise, don't hesitate to ask if you need further explanation.
:]
07-29-2009 02:09 AM
Hi,
You can use one cursor and alternate with all your plot.
I advise you to read this: Programmatically Moving a CWCursor from One Plot to Another in Visual Basic
regards ,
Aurélien J.
National Instruments France