Hi Matt,
Thanks for the reply. It sounds like you understand what I am doing now.
Our display is essentially an oscilloscope style display rather than a strip-chart style display. The description of PlotYAppend leads me to believe that it will append any subsequent Y values to the display at the last X value determined by the X increment * the number of points plotted. This is why I chose to use the PlotY function in the first place.
If there is no way to plot at X=0 on each call to the plot function and maintain the "zoom" history, then I won't be able to use what you suggest. In fact, from what you have said, I'm not even sure that I can use the WaveformGraph component to accomplish what I need to do without "twiddling". What I am hoping for, assuming PlotYAppend will not plot at X=0 without clearing zoom history, is that the Graph.ZoomFactor property is somehow useable to reset the WaveformGraph back to a "non-zoomed" state. Barring that, I'll have to work with the axes as you suggest. However, since I have already determined that the zoom out does not fire an event in the specific context I am working with, I will probably have to try to intercept the mouse click message and twiddle with the axes settings.
All I need to do is zoom in/out on a "region of interest" in the XY plane irrespective of the data that is there - for all intents and purposes. It sounds like the zoom functionality, as implemented by NI, is intimately dependent on the data that is there. While I can understand the usefulness of zooming in on a region of strip-chart graph, it would also seem to me that the ability to zoom on an XY region indepently of any data that might be there would be something that is highly useful.
Is it possible to simply zoom in/out on a region when using PlotY to plot oscilloscope-style data? If so, is there sample code available for this?
Thanks again.
Best Regards,
Matthew