Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Qwt Plot and Qwt Plot Axis Problem
Forum Updated to NodeBB v4.3 + New Features

Qwt Plot and Qwt Plot Axis Problem

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
5 Posts 2 Posters 1.9k 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.
  • S Offline
    S Offline
    slymnkbdyi
    wrote on last edited by
    #1

    I want to do a date-time axis for video player time line.I used QwtPlotPanner for panning , QwtPlotMagnifier for zooming, set axis scale for zoom scale .it is working but axis show hours of other days while zoom-out.

    QwtPlotPanner *panner = new QwtPlotPanner( canvas());
    QwtPlotMagnifier *magnifier = new mag( canvas() );
    QwtScaleDraw *scaleDraw =new TimeScaleDraw("hh:mm");
    QwtDateScaleEngine *scaleEngine = new QwtDateScaleEngine( timeSpec );
    QwtPlot::setAxisAutoScale(xTop,false);
    setAxisScale( QwtPlot::xTop, QwtDate::toDouble(startDate),QwtDate::toDouble(endDate ));
    e.g :

    setaxisscale min : 23.04.2018 00:00:00
    setaxisscale max 23.04.2018 23:59:59

    but ı see 25.04.2018 12:45:21 like this after zoom out

    before zoom out:

    0_1524747730639_Adsız.png

    after zoom out :

    0_1524747745459_Adsız21.png

    Can you help me? thank you

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      That's a question you should bring to the authors of Qwt. Their mailing list is here.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • S Offline
        S Offline
        slymnkbdyi
        wrote on last edited by
        #3

        thank you. how to ask question this mailing list. i try it but ı cant this .

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Did you subscribe to the mailing list ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • S Offline
            S Offline
            slymnkbdyi
            wrote on last edited by
            #5

            ı asked question . thank you .

            https://sourceforge.net/p/qwt/mailman/qwt-interest/thread/9d6594d5-af15-280a-01d3-052987ce1e82%40gmail.com/#msg36304335

            1 Reply Last reply
            0

            • Login

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