mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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)
|
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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue