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. I'd like to put the coordinate value like the picture.
Forum Updated to NodeBB v4.3 + New Features

I'd like to put the coordinate value like the picture.

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 2 Posters 460 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.
  • M Offline
    M Offline
    meria0503
    wrote on last edited by meria0503
    #1

    5d2f12ad-860d-4dd0-a1dc-82d2c5ab492c-image.png

    Hello.
    I've been writing a lot of questions lately.
    There's a lot I don't know yet.

    If the mouse moves and moves to that point like in the picture, I want to express the coordinate values in that way

    Data is received from DB and entered. How should I express it?

    I'd like to add an additional gradation effect, is there a way?

    The chart is lineseries.

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

      Hi,

      You should add which charting library you are using. Qwt ? QtCharts ? QCustomPlot ?

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

      M 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi,

        You should add which charting library you are using. Qwt ? QtCharts ? QCustomPlot ?

        M Offline
        M Offline
        meria0503
        wrote on last edited by
        #3

        @SGaist What I'm using now is QtCharts.

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

          Like shown in this example ?

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

          M 1 Reply Last reply
          1
          • SGaistS SGaist

            Like shown in this example ?

            M Offline
            M Offline
            meria0503
            wrote on last edited by
            #5

            @SGaist YES. I followed the example over there, and the basic class I use is QMain Window, and the example was using QGraphView all over the country. I'm using QGraphView only for the chart.

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

              What is the problem with using a custom QGraphicsView in your project ?

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

              M 1 Reply Last reply
              0
              • SGaistS SGaist

                What is the problem with using a custom QGraphicsView in your project ?

                M Offline
                M Offline
                meria0503
                wrote on last edited by
                #7

                @SGaist I used to use Promote as QChartView for GraphicsView. So in the example, the subclass is QGraphicsView, and I am QMainWindow. Or did MouseMoveEvent not happen because I didn't use Callout?

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

                  I don't follow you. Basically you need to use the combo View + Callout from the example (or implement your own).

                  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

                  • Login

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