Solved how to change the color of several specified bar-element in QBarSet?
-
When I use barSeries in QtChart, I want to make several bars to have different colors so that these bars can indicate something happens.
if QBarSet->setcolor is called, all bars' color are changed, but I only want the specified bars change color and others stay the same, is there a way to achieve this?
thanks -
I think I know how to do it now
use stackbarSeries, and always has two barsets, one appends "0" and the other appends target value