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. Step Line Charts

Step Line Charts

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 1.1k Views
  • 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.
  • G Offline
    G Offline
    gazoni
    wrote on 22 Oct 2018, 16:12 last edited by
    #1

    Hello guys,

    Can anyone tell me if Qchart has some class to create steplines. i.e. step Line Chart

    Regards,
    Leandro

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 22 Oct 2018, 19:27 last edited by
      #2

      Hi,

      Do you mean something like the Line Chart Example ?

      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
      • G Offline
        G Offline
        gazoni
        wrote on 22 Oct 2018, 23:21 last edited by
        #3

        Hi,

        Yes, like a line chart?

        J 1 Reply Last reply 23 Oct 2018, 05:55
        0
        • G gazoni
          22 Oct 2018, 23:21

          Hi,

          Yes, like a line chart?

          J Offline
          J Offline
          J.Hilk
          Moderators
          wrote on 23 Oct 2018, 05:55 last edited by J.Hilk
          #4

          @gazoni that should be easy enough to create on your own with QLineSeries.

          Whenever you add a new point to the series(pNew), check if a previous point exists(pOld),
          if yes, than create an intermediatePoint (pNew.x, pOld.y) add that one to the series and than add pNew itself.


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          1 Reply Last reply
          0

          1/4

          22 Oct 2018, 16:12

          • Login

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