I'm trying to adapt axes alignment code from the PlotMatrix playground example to my application. But It doesn't work as I expect when I add QwtPlotZoomer to the plots.
Problem is when I zoom into a plot with rectangle selection other plots axes aren't updated immediately. And Y axes stay out of alignment. But they are correctly updated when I resize the window.How can I correctly trigger an update on axis widgets?
Problem can be reproduced by adding a QwtPlotZoomer to `Plot` class in plotmatrix playground example. Code:
Qt Code:
public: QwtPlotZoomer* zoomer; { canvas->setLineWidth( 1 ); setCanvas( canvas ); }To copy to clipboard, switch view to plain text mode
Bookmarks