statistics: set correct z-value for bars
The bars were set to the z-value of the labels. Not an issue, since the labels are generated after the bars and therefore plot later. Still, do the right thing. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
90129aa26f
commit
598058e21e
@ -188,7 +188,7 @@ BarSeries::Item::Item(QtCharts::QChart *chart, BarSeries *series, double lowerBo
|
||||
total(total)
|
||||
{
|
||||
for (SubItem &item: subitems) {
|
||||
item.item->setZValue(ZValues::seriesLabels);
|
||||
item.item->setZValue(ZValues::series);
|
||||
item.highlight(false, binCount);
|
||||
}
|
||||
updatePosition(chart, series, horizontal, stacked, binCount);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user