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

QtGraphs vs QtCharts vs QtDataVisualization

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 1.2k Views 5 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.
  • H Offline
    H Offline
    habersaa
    wrote on last edited by
    #1

    Hey.
    I'm getting confused between QtGraphs, QtCharts and QtDataVisualization. These libs seem to have quite some overlap (some classes seem fully duplicated), but I was not able to find clear information about how we should use them.

    • What is the Qt strategy regarding these 3 libs for the future ?
    • Is QtGraphs going to merge QtDataVisualization and QtCharts together at the end ?
    • Is QtGraphs going to be fully available for QtWidgets as well ?
    • For 2D graphs with QtGraphs in Qt 6.7, I could not find the class that actually shows a graph in the C++ API, i.e. the equivalent to GraphsView in QML.
    • Is it planned to provide higher-level function to manipulate the view in QtGraphs ? (to avoid the 300+ lines required to handle the view efficiently with the mouse in QtCharts, e.g. zoom under the mouse cursor, zoom in X or Y only, sync axis together, etc)

    Thanks !

    A 1 Reply Last reply
    3
    • H habersaa

      Hey.
      I'm getting confused between QtGraphs, QtCharts and QtDataVisualization. These libs seem to have quite some overlap (some classes seem fully duplicated), but I was not able to find clear information about how we should use them.

      • What is the Qt strategy regarding these 3 libs for the future ?
      • Is QtGraphs going to merge QtDataVisualization and QtCharts together at the end ?
      • Is QtGraphs going to be fully available for QtWidgets as well ?
      • For 2D graphs with QtGraphs in Qt 6.7, I could not find the class that actually shows a graph in the C++ API, i.e. the equivalent to GraphsView in QML.
      • Is it planned to provide higher-level function to manipulate the view in QtGraphs ? (to avoid the 300+ lines required to handle the view efficiently with the mouse in QtCharts, e.g. zoom under the mouse cursor, zoom in X or Y only, sync axis together, etc)

      Thanks !

      A Offline
      A Offline
      Asperamanca
      wrote on last edited by
      #2

      @habersaa According to Qt Graphs docs, they are still in technology preview. Which is probably why you don't get documentation in released versions.

      I believe they are meant to replace Qt Charts. I would not hold my breath for a pure QWidget-based implementation, besides integrating them using QQuickWidget of course.

      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