05-08-2014 10:33 AM
LabVIEW 2013
Hi, just wondering is it possible to use a scatter map in LabVIEW and have the user be able to click on a certain point and it would display data on that point?
Solved! Go to Solution.
05-08-2014 11:06 AM
What exactly is a "scatter map"?
You can use a picture control. Register for mouse down and/or mouse up events, and use the coordinates that the event gives you to do whatever action you wish.
05-08-2014 11:09 AM
Something like the attached image but the dots can be clicked on to show data on that specific dot
05-08-2014 12:49 PM
I think that you would have to program it yourself. If I understand correctly, below is an example of what you could using a XY graph and a Mouse down user event. Notice that in the example below, the graph values displayed in the graph will be the values where the mouse is clicked, not specifically those of the data points. You can easily add a sub-vi that would do a test to select the closest data point and display the values of that point (or whatever you want to do), or display nothing at all if the mouse click is too far away.
05-19-2014 10:36 AM
The scatter plot vi is the main vi that plots data into an XY graph and display the value of a plotted point if you click on it. The XY graph - closest point.vi finds the closest point from the point where the mouse was clicked and output the distance from that point and the value of the closest data point.