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:
committed by
Dirk Hohndel
parent
90129aa26f
commit
598058e21e
@@ -188,7 +188,7 @@ BarSeries::Item::Item(QtCharts::QChart *chart, BarSeries *series, double lowerBo
|
|||||||
total(total)
|
total(total)
|
||||||
{
|
{
|
||||||
for (SubItem &item: subitems) {
|
for (SubItem &item: subitems) {
|
||||||
item.item->setZValue(ZValues::seriesLabels);
|
item.item->setZValue(ZValues::series);
|
||||||
item.highlight(false, binCount);
|
item.highlight(false, binCount);
|
||||||
}
|
}
|
||||||
updatePosition(chart, series, horizontal, stacked, binCount);
|
updatePosition(chart, series, horizontal, stacked, binCount);
|
||||||
|
|||||||
Reference in New Issue
Block a user