28 Apr 21:00
Re: clear zoom stack
From: Uwe Rathmann <Uwe.Rathmann <at> tigertal.de>
Subject: Re: clear zoom stack
Newsgroups: gmane.comp.graphics.qwt.general
Date: 2008-04-28 19:00:53 GMT
Subject: Re: clear zoom stack
Newsgroups: gmane.comp.graphics.qwt.general
Date: 2008-04-28 19:00:53 GMT
On Monday 28 April 2008 13:34, Gianni Ambrosio wrote: > I need to synchronize several QwtPlot objects. To do that I basically > call a zoom(rect). But since the plots may also have an independent zoom > I cannot live with the actual zoom stack during synchronization. That > means I have to clear the previous zoom stack. What about zoomer->setZoomBase(false); ? > - zoomer->zoom(0) > - set the flag to true to reset the default behaviour The zoomer always uses QwtPlotZoomer::rescale() to change the axis scales. This should be a better place for such a flag. Uwe ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
RSS Feed