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

Step Line Charts

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 1.2k 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.
  • G Offline
    G Offline
    gazoni
    wrote on 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
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on 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 last edited by
        #3

        Hi,

        Yes, like a line chart?

        J.HilkJ 1 Reply Last reply
        0
        • G gazoni

          Hi,

          Yes, like a line chart?

          J.HilkJ Offline
          J.HilkJ Offline
          J.Hilk
          Moderators
          wrote on 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

          • Login

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