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. Enabling QBoxPlotSeries, QLineSeries and QScatterSeries to display QVariant NULL as gap

Enabling QBoxPlotSeries, QLineSeries and QScatterSeries to display QVariant NULL as gap

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 679 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.
  • V Offline
    V Offline
    vorlket
    wrote on last edited by
    #1

    As far as I am aware, the three series display the null as zero. Has someone found a way to enable them to display the null as gap? If not, please vote for feature request for it (https://bugreports.qt.io/browse/QTBUG-58330).

    1 Reply Last reply
    0
    • L Offline
      L Offline
      LijoIgnatius
      wrote on last edited by
      #2

      I have voted for this feature.
      Have you found any alternative solution for this?

      1 Reply Last reply
      0
      • L Offline
        L Offline
        LijoIgnatius
        wrote on last edited by
        #3

        You can dynamically create a new line series, keep appending data till u need gap, after gap again create a new line series and keep appending data to the recently created line series.
        Using count you can keep track of how many line series has been created, and using removeallseries/removeseries(index) you can clear the dynamically created series.

        If you have more gaps, it will affect the performance, since we are creating a line series dynamically, load time will increase.

        This how I handled the above scenario,

        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