Hi again!
This time, my need is based on my previous experience with the older graph in Measurement Studio 6 (for VB). With the older graph, it was possible to set the graph in a specific "usage mode". I mean, it was possible to indicate to the graph that it was in "zoom" mode, or "pan" mode and when the user was using the mouse, the graph was reacting appropriatly.
The new graph (or scatterGraph) racts differently. If the user wants to zoom, he/she has to hold a key. To pan, he/she also has to hold another key. Well... with a touchscreen, it's far from being easy to perform !!! I tried to set the InteractionMode to only one item or two (Zoom X, Zoom Y) but the user still has to use the Shift key to zoom.
Why did you changed this? Is there a way to "simulate" the Shift key (or Ctrl) so my application could work without using the keyboard? If not, could there be some boolean properties that would simulate them? Or event better, an enumation based property.
Ex.:
private void SetGraphToZoomMode()
{
this.graph.InteractionModifier = ShiftKey;
this.graph.InteractionMode = InteractionMode.ZoomX | InteractionMode.ZoomY;
}
This would work well with a touchscreen. All I'd have to do is to use a toolbar (which I already have anyway) to set the "usage mode" of the graph. Something like the thing that is already available in LabVIEW, you know? 😉
Thank you for your support. It is appreciated!
Léo