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