Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved How to partially change color of each bar in bar chart?

    QML and Qt Quick
    qml barchart
    1
    2
    300
    Loading More Posts
    • 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.
    • R
      robert90 last edited by

      I'm using Qt 5.11.3.

      I intend to draw a bar chart like this:
      0_1557329681341_02055c69-e750-40f1-a754-ef7ca628f587-image.png
      The chart will display bars which have the bottom part with another color (e.g. black in this snapshot).
      Also, for each bar, I can change the height of the bottom part for any event e.g. every interval....

      Can anyone help to give hints or the approach for this. I'm just newbie with Qt.

      Thanks

      1 Reply Last reply Reply Quote 2
      • R
        robert90 last edited by

        any suggestion?

        1 Reply Last reply Reply Quote 0
        • First post
          Last post