mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue