Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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



  • 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



  • any suggestion?


Log in to reply