Interestingly, we scroll AND zoom via a separate plot in GoldenCheetah and using a qxtspanslider.
Attached is a screenshot. Screenshot at 2012-02-17 22:08:36.jpg
Interestingly, we scroll AND zoom via a separate plot in GoldenCheetah and using a qxtspanslider.
Attached is a screenshot. Screenshot at 2012-02-17 22:08:36.jpg
alizadeh91 (19th February 2012), van.der.sam (10th March 2012)
Thanks liversedge...
Can u explain more about GoldenCheetah?? Is it a Qt component or something like that??
Use
(void) new QwtPlotPanner(plot->canvas());
(void) new QwtPlotMagnifier(plot->canvas());
and dont forget to include qwt_plot_magnifier.h and qwt_plot_panner.h
you will able to zoom in or zoom out through mouse scroll.
and you can able to move your curve.
That is a good way sonulohaniThanks
Bookmarks