@@ -157,6 +157,7 void BarChartItem::applyLayout(const QVector<QRectF> &layout) | |||||
157 | animator()->updateLayout(this, m_layout, layout); |
|
157 | animator()->updateLayout(this, m_layout, layout); | |
158 | } else { |
|
158 | } else { | |
159 | setLayout(layout); |
|
159 | setLayout(layout); | |
|
160 | update(); | |||
160 | } |
|
161 | } | |
161 | } |
|
162 | } | |
162 |
|
163 | |||
@@ -196,7 +197,6 void BarChartItem::handleLayoutChanged() | |||||
196 | } |
|
197 | } | |
197 | QVector<QRectF> layout = calculateLayout(); |
|
198 | QVector<QRectF> layout = calculateLayout(); | |
198 | applyLayout(layout); |
|
199 | applyLayout(layout); | |
199 | update(); |
|
|||
200 | } |
|
200 | } | |
201 |
|
201 | |||
202 | void BarChartItem::handleLabelsVisibleChanged(bool visible) |
|
202 | void BarChartItem::handleLabelsVisibleChanged(bool visible) |
General Comments 0
You need to be logged in to leave comments.
Login now