I'm using QWT 6.0.0.0 RC5, QT 4.7.1.
I'm trying to generate the effect of horizontal scrolling for my plot - the X scale will be Time so it should be growing horizontally.
I saw a discussion in which it was advised to use the QwtPlotZoomer class, so right now I have a combination of the Oscilloscope and the Realtime examples.
What I want to achieve is to update the scale to a new size, and then emulate a zoom that is set to the pre-defined original scale, and to the right part of the plot.
Meaning, if my X scale is 10 seconds, and I'm rescaling it to 11, I want the displayed plot to start from 1 and the scrollbar to enable scrolling back to 0.
How do I go about this? Also, if there's a better way of doing it, I'd be happy for some pointers.
Optimally I would want to get rid of the UI functionality of the zoomer (the ability to select a zoom rectangle using the mouse) and just use the mechanism for the behind-the-scenes action.
Thanks,
Frankie
Bookmarks