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?
Forum Updated to NodeBB v4.3 + New Features

How to achieve this Ui?

Scheduled Pinned Locked Moved Solved General and Desktop
13 Posts 2 Posters 1.7k 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
    13 Nov 2018, 05:55

    @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.

    M Offline
    M Offline
    mrjj
    Lifetime Qt Champion
    wrote on 13 Nov 2018, 07:24 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 13 Nov 2018, 07:28
    1
    • M mrjj
      13 Nov 2018, 07:24

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

      T Offline
      T Offline
      thippu
      wrote on 13 Nov 2018, 07:28 last edited by
      #5

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

      1 Reply Last reply
      0
      • M mrjj
        13 Nov 2018, 07:24

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

        T Offline
        T Offline
        thippu
        wrote on 13 Nov 2018, 07:41 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
          13 Nov 2018, 05:55

          @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 13 Nov 2018, 07:45 last edited by
          #7

          @thippu Sorry, I said QwtPlotCanvas instead of QwtPlotCurve

          1 Reply Last reply
          0
          • T Offline
            T Offline
            thippu
            wrote on 28 Nov 2018, 05:57 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
            • M mrjj
              13 Nov 2018, 07:24

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

              T Offline
              T Offline
              thippu
              wrote on 5 Jan 2019, 12:44 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.

              M 1 Reply Last reply 5 Jan 2019, 12:55
              0
              • T thippu
                5 Jan 2019, 12:44

                @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.

                M Offline
                M Offline
                mrjj
                Lifetime Qt Champion
                wrote on 5 Jan 2019, 12:55 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 5 Jan 2019, 13:47
                2
                • M mrjj
                  5 Jan 2019, 12:55

                  @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 5 Jan 2019, 13:47 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.

                  M 1 Reply Last reply 5 Jan 2019, 14:14
                  0
                  • T thippu
                    5 Jan 2019, 13:47

                    @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.

                    M Offline
                    M Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on 5 Jan 2019, 14:14 last edited by
                    #12

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

                    T 1 Reply Last reply 6 Jan 2019, 07:39
                    2
                    • M mrjj
                      5 Jan 2019, 14:14

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

                      T Offline
                      T Offline
                      thippu
                      wrote on 6 Jan 2019, 07:39 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