@@ -95,6 +95,7 void ChartBarCategoryAxisX::updateGeometry() | |||||
95 |
|
95 | |||
96 | void ChartBarCategoryAxisX::handleCategoriesChanged() |
|
96 | void ChartBarCategoryAxisX::handleCategoriesChanged() | |
97 | { |
|
97 | { | |
|
98 | QGraphicsLayoutItem::updateGeometry(); | |||
98 | if(presenter()) presenter()->layout()->invalidate(); |
|
99 | if(presenter()) presenter()->layout()->invalidate(); | |
99 | } |
|
100 | } | |
100 |
|
101 |
@@ -70,12 +70,14 void ChartDateTimeAxisX::updateGeometry() | |||||
70 | void ChartDateTimeAxisX::handleTickCountChanged(int tick) |
|
70 | void ChartDateTimeAxisX::handleTickCountChanged(int tick) | |
71 | { |
|
71 | { | |
72 | Q_UNUSED(tick) |
|
72 | Q_UNUSED(tick) | |
|
73 | QGraphicsLayoutItem::updateGeometry(); | |||
73 | if(presenter()) presenter()->layout()->invalidate(); |
|
74 | if(presenter()) presenter()->layout()->invalidate(); | |
74 | } |
|
75 | } | |
75 |
|
76 | |||
76 | void ChartDateTimeAxisX::handleFormatChanged(const QString &format) |
|
77 | void ChartDateTimeAxisX::handleFormatChanged(const QString &format) | |
77 | { |
|
78 | { | |
78 | Q_UNUSED(format); |
|
79 | Q_UNUSED(format); | |
|
80 | QGraphicsLayoutItem::updateGeometry(); | |||
79 | if(presenter()) presenter()->layout()->invalidate(); |
|
81 | if(presenter()) presenter()->layout()->invalidate(); | |
80 | } |
|
82 | } | |
81 |
|
83 |
General Comments 0
You need to be logged in to leave comments.
Login now