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. How to achieve this Ui?
Qt 6.11 is out! See what's new in the release blog

How to achieve this Ui?

Scheduled Pinned Locked Moved Solved General and Desktop
13 Posts 2 Posters 2.0k 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.
  • T thippu

    @mrjj Sorry, I'm not sure.
    can we able to set common x axis and different y axises to the each QwtPlotCanvas?
    if yes, could you say me how to?
    I'm searching for it.

    mrjjM Offline
    mrjjM Offline
    mrjj
    Lifetime Qt Champion
    wrote on last edited by
    #4

    Hi
    I think you can set it via setAxisScale
    for each plot. and hence for each Canvas.

    T 3 Replies Last reply
    1
    • mrjjM mrjj

      Hi
      I think you can set it via setAxisScale
      for each plot. and hence for each Canvas.

      T Offline
      T Offline
      thippu
      wrote on last edited by
      #5

      @mrjj okay, I will look at it, Thank you

      1 Reply Last reply
      0
      • mrjjM mrjj

        Hi
        I think you can set it via setAxisScale
        for each plot. and hence for each Canvas.

        T Offline
        T Offline
        thippu
        wrote on last edited by
        #6

        @mrjj I want to make each QwtPlotCurve on the QwtPlot to have different Yaxis and share common x Axis O/P img

        Can I get some thoughts from you? ,
        what I'm thinking is either assigning each QwtPlotCurve to new QwtPlotCanvasand combining QwtPlotCanvas objects into single QwtPlot but I should have to share x axis among QwtPlotCanvas and different yaxis to each QwtPlotCanvas

        1 Reply Last reply
        0
        • T thippu

          @mrjj Sorry, I'm not sure.
          can we able to set common x axis and different y axises to the each QwtPlotCanvas?
          if yes, could you say me how to?
          I'm searching for it.

          T Offline
          T Offline
          thippu
          wrote on last edited by
          #7

          @thippu Sorry, I said QwtPlotCanvas instead of QwtPlotCurve

          1 Reply Last reply
          0
          • T Offline
            T Offline
            thippu
            wrote on last edited by
            #8

            I did search a lot on this, I got some information, I would like to share with you,
            To achieve this kind of user interface, We can refer "plotmatrix" the QWT playground example

            1 Reply Last reply
            1
            • mrjjM mrjj

              Hi
              I think you can set it via setAxisScale
              for each plot. and hence for each Canvas.

              T Offline
              T Offline
              thippu
              wrote on last edited by
              #9

              @mrjj Could you explain this more how to do in steps? please.
              I have 32 QwtPlotCurves and I would like to put the same x axis for all but different y axis for each curve.

              mrjjM 1 Reply Last reply
              0
              • T thippu

                @mrjj Could you explain this more how to do in steps? please.
                I have 32 QwtPlotCurves and I would like to put the same x axis for all but different y axis for each curve.

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #10

                @thippu
                Hi
                But the sample already sets
                setAxisScale
                https://github.com/eiimage/qwt/blob/master/examples/plotmatrix/main.cpp

                so which part is not working as intended ?

                T 1 Reply Last reply
                2
                • mrjjM mrjj

                  @thippu
                  Hi
                  But the sample already sets
                  setAxisScale
                  https://github.com/eiimage/qwt/blob/master/examples/plotmatrix/main.cpp

                  so which part is not working as intended ?

                  T Offline
                  T Offline
                  thippu
                  wrote on last edited by
                  #11

                  @mrjj I have developed this
                  There are 32 curves displaying and getting data from the socket and updating them.
                  I would like to achieve this:
                  If a user selects one of the curves by clicking on the curve and scrolls up(mouse scroll) selected curve should expand in Y(its own y) and if scrolls down it contrast.

                  mrjjM 1 Reply Last reply
                  0
                  • T thippu

                    @mrjj I have developed this
                    There are 32 curves displaying and getting data from the socket and updating them.
                    I would like to achieve this:
                    If a user selects one of the curves by clicking on the curve and scrolls up(mouse scroll) selected curve should expand in Y(its own y) and if scrolls down it contrast.

                    mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by
                    #12

                    @thippu
                    i think you can use
                    https://qwt.sourceforge.io/class_qwt_magnifier.html

                    T 1 Reply Last reply
                    2
                    • mrjjM mrjj

                      @thippu
                      i think you can use
                      https://qwt.sourceforge.io/class_qwt_magnifier.html

                      T Offline
                      T Offline
                      thippu
                      wrote on last edited by
                      #13

                      @mrjj I mean selected curve y-axis scale should increase.

                      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