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. Hard to find some docs for QtGraphs in C++
Forum Updated to NodeBB v4.3 + New Features

Hard to find some docs for QtGraphs in C++

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 3 Posters 121 Views 1 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.
  • jronaldJ Offline
    jronaldJ Offline
    jronald
    wrote last edited by
    #1
    ui->quickWidget->setInitialProperties({
            {"seriesList", seriesList},
            {"axisX", QVariant::fromValue(axisX)},
            {"axisY", QVariant::fromValue(axisY)}
        });
    

    Prefer C++ to QML (no intrests in QML now).
    But I need some charts, QtCharts is deprecated, so I tried QtGraphs.
    For the code above, I can't find the keys (like seriesList, axisX, axisY) that are available in the doc easily, any way?

    jsulmJ JKSHJ 2 Replies Last reply
    0
    • jronaldJ jronald
      ui->quickWidget->setInitialProperties({
              {"seriesList", seriesList},
              {"axisX", QVariant::fromValue(axisX)},
              {"axisY", QVariant::fromValue(axisY)}
          });
      

      Prefer C++ to QML (no intrests in QML now).
      But I need some charts, QtCharts is deprecated, so I tried QtGraphs.
      For the code above, I can't find the keys (like seriesList, axisX, axisY) that are available in the doc easily, any way?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote last edited by
      #2

      @jronald For example https://doc.qt.io/qt-6/qml-qtdatavisualization-scatter3d.html
      You can search in Qt documentation.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • jronaldJ jronald has marked this topic as solved
      • jronaldJ jronald
        ui->quickWidget->setInitialProperties({
                {"seriesList", seriesList},
                {"axisX", QVariant::fromValue(axisX)},
                {"axisY", QVariant::fromValue(axisY)}
            });
        

        Prefer C++ to QML (no intrests in QML now).
        But I need some charts, QtCharts is deprecated, so I tried QtGraphs.
        For the code above, I can't find the keys (like seriesList, axisX, axisY) that are available in the doc easily, any way?

        JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote last edited by
        #3

        @jronald said in Hard to find some docs for QtGraphs in C++:

        For the code above, I can't find the keys (like seriesList, axisX, axisY)

        Those look like properties from GraphsView: https://doc.qt.io/qt-6/qml-qtgraphs-graphsview.html

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        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