Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Fill QML Chart with Data from C++
Forum Updated to NodeBB v4.3 + New Features

Fill QML Chart with Data from C++

Scheduled Pinned Locked Moved Solved QML and Qt Quick
1 Posts 1 Posters 454 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.
  • H Offline
    H Offline
    HTWAMD
    wrote on last edited by HTWAMD
    #1

    Hey,

    I did a simple Qt LineChart just like here in the example:
    QML Line Chart

    Now I want to pass data from C++ to the qml chart but how? :)
    With a Listview I already did it with rootContext()->setContextProperty but it's not working with the chart (Maybe I'm doing something wrong...)

    Edit// Found the Solution in the "QML Oscilloscope" example.

    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