1 Attachment(s)
Zoomer with scrollbar for multiple YLeft and YRight axes
Hi,
I use qwt multiple axis branch and I implemented ScrollBar when zooming (from realtime example).
This works nice with one YAxis.
I saw propositions to use each zoomer for each YAxis but I don't think that this is a good idea beacause of ScrollBars and secondly beacause of I need fast reploting after zooming. I suppose that if I use multiple zoomers then the plot does multiple replots.
I'm looking for a way to modify QwtPlotZoomer code to allow this zoomer to zoom along each visible axis.
Maybe somebody could give me some hints?
By the way, I can't make make it work with two YLeft axis and two zommers.
Here I have two curves: one attached to QwtAxisId(QwtPlot::yLeft, 0) and another QwtAxisId(QwtPlot::yLeft, 1)
Code:
Qt::RightButton );
Qt::RightButton );
I have not found any way to zoom the very YLeft axis (QwtAxisId(QwtAxis::yLeft, 1)). Only one YAxis is zoomed (QwtAxisId(QwtAxis::yLeft, 0))
See picture
Attachment 13518