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 make a point of discontinuity in QLineSeries?

How to make a point of discontinuity in QLineSeries?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 1.5k Views 2 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
    Mr_Whiite
    wrote on last edited by
    #1

    I have some data series that i append to QLineSeries and draw them in chart. The problem is that i need this graph to have several points of discontinuity, but QLineSeries just connects them all into one line. How can I make that happen using only one series?

    Venkatesh VV 1 Reply Last reply
    0
    • M Mr_Whiite

      I have some data series that i append to QLineSeries and draw them in chart. The problem is that i need this graph to have several points of discontinuity, but QLineSeries just connects them all into one line. How can I make that happen using only one series?

      Venkatesh VV Offline
      Venkatesh VV Offline
      Venkatesh V
      wrote on last edited by
      #2

      @Mr_Whiite said in How to make a point of discontinuity in QLineSeries?:

      i need this graph to have several points of discontinuity

      If you want to achieve this, you need to take multiple line series, all continuous points should be in one series whenever you get discontinuity take one more lineseries and add other points into new one and follow the same for next discontinuity points. After that add all those series to same QChart instance.

      M 1 Reply Last reply
      0
      • Venkatesh VV Venkatesh V

        @Mr_Whiite said in How to make a point of discontinuity in QLineSeries?:

        i need this graph to have several points of discontinuity

        If you want to achieve this, you need to take multiple line series, all continuous points should be in one series whenever you get discontinuity take one more lineseries and add other points into new one and follow the same for next discontinuity points. After that add all those series to same QChart instance.

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

        @Venkatesh-V What if I need to have only one QLineSeries? Isn't it possible somehow?

        1 Reply Last reply
        0
        • JonBJ JonB referenced this topic on

        • Login

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