diff --git a/src/axis/datetimeaxis/chartdatetimeaxisy.cpp b/src/axis/datetimeaxis/chartdatetimeaxisy.cpp index 6bc9e9e..cdcee41 100644 --- a/src/axis/datetimeaxis/chartdatetimeaxisy.cpp +++ b/src/axis/datetimeaxis/chartdatetimeaxisy.cpp @@ -71,12 +71,14 @@ void ChartDateTimeAxisY::updateGeometry() void ChartDateTimeAxisY::handleTickCountChanged(int tick) { Q_UNUSED(tick) + QGraphicsLayoutItem::updateGeometry(); if(presenter()) presenter()->layout()->invalidate(); } void ChartDateTimeAxisY::handleFormatChanged(const QString &format) { Q_UNUSED(format); + QGraphicsLayoutItem::updateGeometry(); if(presenter()) presenter()->layout()->invalidate(); }