Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Scrollzoomer axis update
Qt 6.11 is out! See what's new in the release blog

Scrollzoomer axis update

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 593 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    emdoa
    wrote on last edited by
    #1

    Hi,

    I need help with scrollzoomer implementation. I used scrollzoomer from qwt examples and I need to do some modification with this functionality. In my app I read some data from file and generate plot with zoomer enabled.
    Axis of the plot are initiated with max and min values from data and set using setAxisScale. My problem is to resolve situation when zoom area have a part outside of default plot region. It is ilustrated at below image:

    http://imgur.com/a/38nFm

    When user use vertical scrollbar, jump of the plot can be observed and I have a question how it is possible to avoid this situation. I suspect this is caused by zoomBase set up with default axis values, but I need some help how to figure it out to set axis/scrollbar value in proper way.

    thanks for any sugestions.

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi! For questions related to Qwt's API better ask the Qwt guys on their mailing list, see Qwt Support.

      1 Reply Last reply
      2

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved