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. QChart: using QDateTimeAxis with QAreaSeries
Forum Updated to NodeBB v4.3 + New Features

QChart: using QDateTimeAxis with QAreaSeries

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 1 Posters 277 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.
  • F Offline
    F Offline
    Frank Bergemann
    wrote on last edited by
    #1

    I can only find a reference for using QDateTimeAxis with QSeries: https://doc.qt.io/qt-5/qtcharts-datetimeaxis-example.html
    But i want to use it with QAreaSeries. And i don't succeed to apply for that.
    Is there any reference/example for inter-op of QDateTimeAxis with QAreaSeries?

    F 1 Reply Last reply
    0
    • F Frank Bergemann

      I can only find a reference for using QDateTimeAxis with QSeries: https://doc.qt.io/qt-5/qtcharts-datetimeaxis-example.html
      But i want to use it with QAreaSeries. And i don't succeed to apply for that.
      Is there any reference/example for inter-op of QDateTimeAxis with QAreaSeries?

      F Offline
      F Offline
      Frank Bergemann
      wrote on last edited by Frank Bergemann
      #2

      @Frank-Bergemann

      I created an example here: https://github.com/FBergemann/DateTimeAxis-MultipleSeries
      Doing so, i had to recognize, that is already fails for adding a 2nd series.
      It doesn't display the 2nd series properly, but cuts it off at the top.

      1 Reply Last reply
      0
      • F Offline
        F Offline
        Frank Bergemann
        wrote on last edited by Frank Bergemann
        #3

        i updated https://github.com/FBergemann/DateTimeAxis-MultipleSeries
        hacked, but seems to work (clean-up required)

        Is it correct to add both: QLineSeries and QAreaSeries?
        No, this has to be avoided - example will be fixed again.

        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