LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Automatically display number when the mouse attach approach node for chart ?

Hi all,
can automatically display number when the mouse attach approach node for chart ?
For detail ,see attach file
Thanks in advance !
0 Kudos
Message 1 of 4
(2,926 Views)
That's what the cursors are for. Just show the cursor legend, and add a cursor (you probably want "single plot" for type) to your graph. With the graph palette visible, clicking on the first icon will allow you to move the cursor on the plot and the values will be displayed in the cursor legend box.

To do a popup like a tip strip, which is what you seem to be suggesting by your picture would require your own code, and that, to me, doesn't seem to have much value added given the existence of the cursors.
0 Kudos
Message 2 of 4
(2,890 Views)

That's what the cursors are for. Just show the cursor legend, and add a cursor (you probably want "single plot" for type) to your graph. With the graph palette visible, clicking on the first icon will allow you to move the cursor on the plot and the values will be displayed in the cursor legend box.

To do a popup like a tip strip, which is what you seem to be suggesting by your picture would require your own code, and that, to me, doesn't seem to have much value added given the existence of the cursors.

Thank you in advance .

Could you give me a simple sample ?

0 Kudos
Message 3 of 4
(2,863 Views)

Charts don't have cursors and they also don't have the "plot images" options, so your tools are limited.

Of course you can simulate a chart using a graph by keeping your own history and display it on a graph. Use cursor move events to trigger the calculation of the distances from the new cursor position to all points on the graph and pick the one with the shortest distance to the cursor. Now you can get the annotation tools to label the point, or get its x and y value and write the info using picture tools with the "plot images" property.

0 Kudos
Message 4 of 4
(2,859 Views)