06-27-2015 09:26 AM
HI,
I want to see the values of graph points during mouse hover. But sometimes it is not showing the values when placed at graph points ..
Also when zoomed in it shows values at those places where graph points are not present..
So what will be the required modifications in this following vi.
Solved! Go to Solution.
06-30-2015 10:47 AM
You need to include your subVI too. "Mouse in-bound coordinates.vi"
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
06-30-2015 11:48 AM
Hi,
I fave attached those vis..
06-30-2015 12:14 PM - edited 06-30-2015 12:33 PM
Thanks.
FYI, you need to add a case to the event structure for the Stop button value change. Currently can't stop the VI with that button.
Also, you should use your event data when you can. In this instance you can see the mouse coordinates already in your event structure. These match the "mouse inbound coordinates" that you output from your subVI, so you didn't need to do all of that math:
It looks like your code only shows the value when the cursor is nearby a plot on the graph and seems to do this pretty well.
Here are a few improvements I would suggest:
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
06-30-2015 12:28 PM
When the graph is zoomed the values are not shown properly. How to tackle it? and many times it starts to flicker when graphs are close and values cannot be seen..In my main code there are around 10 plots on graphs having numeric value ...n values of those graphs are quite close so the user has to zoom in the graph...how to tackle it? The size of graphs is same as in eg..
06-30-2015 12:32 PM - edited 06-30-2015 12:36 PM
I am seeing the values shown properly when zoomed. I think you are still seeing the rounding issue. Change your precision inputs on your two Number to Fractional String nodes to 2 instead of 0.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
08-11-2015 07:35 AM
Hi ,
I have modified the vi a little.
The array have high values so the mouse hover is not working properly over here. In the last vi the values were less, but now it is getting fully tossed.
Can anyone help me regarding the same?