@@ -171,9 +171,13 void AbstractBarChartItem::handleDataStructureChanged() | |||
|
171 | 171 | void AbstractBarChartItem::handleVisibleChanged() |
|
172 | 172 | { |
|
173 | 173 | bool visible = m_series->isVisible(); |
|
174 | handleLabelsVisibleChanged(visible); | |
|
175 | foreach (QGraphicsItem *item, childItems()) | |
|
176 | item->setVisible(visible); | |
|
174 | if (visible) | |
|
175 | handleLabelsVisibleChanged(m_series->isLabelsVisible()); | |
|
176 | else | |
|
177 | handleLabelsVisibleChanged(visible); | |
|
178 | ||
|
179 | foreach (QGraphicsItem *bar, m_bars) | |
|
180 | bar->setVisible(visible); | |
|
177 | 181 | } |
|
178 | 182 | |
|
179 | 183 | void AbstractBarChartItem::handleOpacityChanged() |
General Comments 0
You need to be logged in to leave comments.
Login now