From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

G Web Development Software

cancel
Showing results for 
Search instead for 
Did you mean: 

There is no Cursor Move event under Graph Control in Event structure case. Any better workaround?

Solved!
Go to solution

I need to get event trigger when user move the cursor of a graph to get its cursor position (e.g. X as time).

 

looking to the Event structure, Graph event only showing Value Changed. nothing else.

Screenshot 2022-02-11 153006.png

Our idea is to make another loop for only checking if the cursor position is changed and generate a user event accordingly.

 

Cursor Move get Event.png

I'm curious to know if there any better approach on  how to triggers the user event based on graph cursor move event.
i.e. if we could grab the graph event via JavaScript and make it within JSLI? thus the code might will looks simpler 🤔

0 Kudos
Message 1 of 2
(1,220 Views)
Solution
Accepted by topic author ThamS

In the mean time, I Just recently create an example to Sync Cursor move over multiple Graph in G web.

Here it is. any idea to improve it is highly appreciated.

Sync Cursor Move between Multiple Graph Controls in WebVI. (workaround) - NI Community  

 

CursorMove MultipleGraph.png

 

0 Kudos
Message 2 of 2
(1,176 Views)