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. }