Re: qwt plot and scrollbars
Brought to you by:
rathmann
|
From: Uwe R. <Uwe...@ti...> - 2009-03-12 07:07:44
|
On Tuesday 10 March 2009 13:37, Giacomo S. wrote: > Is there a simple way to make my QwtPlot have the horizontal scrollbar > automatically shown when the x data vector size reaches a certain value? A scrollbar is an element, that shows a subrange of a fixed interval. It might be a good option if you want to scroll long distances. For scrolling in pages I'm not sure if it is the right element. As inspiration have a look at the event filter example, that scrolls using a QwtWheel - but you could also use a QwtPlotPanner disabling the vertical direction. Anyway you can copy the scroll zoomer class from the realtime example to your code and use it as it is. Uwe |