LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

xy value from chart

Hello,

I would like to get the xy value from a chart whenever a user uses a mouse or click or keyboard or anything that would enable me to read an xy value from a chart.

I know this is easily done with cursors but I don't want to use a graph (long story).

My chart will also be manually scaled when data is finished so using the transparent graph on top of a chart is also NOT an option.

Any help would be greatly appreciated.

thanks !!

Message Edited by ugman on 05-28-2007 01:16 PM

0 Kudos
Message 1 of 5
(2,871 Views)
In general, you would simply use a "mouse down" event on the chart, which wil give you the coordinates in pixels. It is up to you to transform those into data coordinates. Easiest would be to use an invoke node linked to the chart with method "map coordinates to xy"
 
(I don't know what you mean by "keyboard or anything". How can you possibly pick a location with the keyboard?)
0 Kudos
Message 2 of 5
(2,862 Views)
Thanks for the quick response !!!

I will try this Smiley Happy
0 Kudos
Message 3 of 5
(2,857 Views)
Here's a quick example (LabVIEW 8.2.1)
 
Modify as needed. 🙂
 
 

Message Edited by altenbach on 05-28-2007 11:34 AM

Download All
0 Kudos
Message 4 of 5
(2,853 Views)
You are truly a Champion !!!
0 Kudos
Message 5 of 5
(2,845 Views)