Tooltip on sets in a PercentBarChart

  • Hello,

    I was wondering if it is possible to make a tooltip for each set in the basic PercentBarChart for instance. I would like the exact percentage of each set in each column to appear in a tooltip when the mouse is above it.
    i.e when the mouse cursor is on Samantha's part in March, I'd like the tooltip to show "21.7%".

    Thank you!

  • Just a guess here: did you try using a model (QStandardItemModel) to store the values and use Qt::ToolTipRole to store the tooltip you want to show and them use QVBarModelMapper to plot it?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.