I haven't quite found what I'm looking for on the forums. I am aware of interactive graphs and use them myself. But for my users who aren't very bold when it comes to keyboard shortcuts, they just aren't aware of the power of CVI graphs. I've even tried help popups that instruct them what those keys + mouse buttons are, and they are still instinctively trying to just LEFT CLICK + drag on a graph to move it.
So that got me to thinking. What if I tried to programmatically allow them to do just that.
What I can do is have a basic toolbar with mutually exclusive toggle buttons (one for move, one for zoom to a point, one for zoom out, etc). Then with a combination of EVENT_LEFT_CLICK, EVENT_MOUSE_MOVE, and EVENT_LEFT_CLICK_UP on the graph control, it would be conceivable to make an "easy" pan/zoom set of tools for these users.
Trouble is, I'm a little stumped about how to go about this with the relative mouse position. Do I need to dynamically find the min/max of the axis range with respect to the mouse's position?