Results 1 to 2 of 2

Thread: Prevent QwtPlotMagnifier zoomin out too far

  1. #1
    Join Date
    Oct 2008
    Posts
    74
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Prevent QwtPlotMagnifier zoomin out too far

    Hi

    Is there a way to prevent QwtPlotMagnifier from zooming out too far, i,e I dont want the magnifier to zoom out more than maximum X/Y values of the plotcurve.

    Regards

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,313
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Prevent QwtPlotMagnifier zoomin out too far

    Overload QwtPlotMagnifier::rescale() and do nothing, when you have exceeded your limits.

    Uwe

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.