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. Using ChartView for real time plotting

Using ChartView for real time plotting

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

    Hi
    I am using Qt 5.15 with ChartView to display a graph whose x axis is constantly shifting to the left. The x axis contains date time values shown in the format "hh:mm". The graph is updated several times per minute. I am updating with the graph the limits of the x axis. My expectation is to see the x axis shifting each time new values are added, but in reality I am seeing the graph shifting to the left and after a minute the x axis is also updated. So the result is not satisfactory for showing data in real time.

    Is there a way to make ChartView update continuously the x axis or ChartView is not suitable for this type of applications ?

    thanks
    Bogdan

    1 Reply Last reply
    0
    • M Offline
      M Offline
      MrShawn
      wrote on last edited by
      #2

      Are you updating the axis as well when you update the data?

      I've done some real time plotting and while I don't find QtCharts to be that intuitive, once I figured it out it was really very nice.

      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