summaryrefslogtreecommitdiffstats
path: root/stats
diff options
context:
space:
mode:
Diffstat (limited to 'stats')
-rw-r--r--stats/barseries.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/stats/barseries.cpp b/stats/barseries.cpp
index 252f05af6..9e8d5d133 100644
--- a/stats/barseries.cpp
+++ b/stats/barseries.cpp
@@ -151,6 +151,7 @@ void BarSeries::BarLabel::updatePosition(bool horizontal, bool center, const QRe
setVisible(false);
return;
}
+ pos.rx() -= itemSize.width() / 2.0;
}
item->setPos(roundPos(pos)); // Round to integer to avoid ugly artifacts.
}