@@ -228,7 +228,7 void AbstractBarChartItem::handleUpdatedBars() | |||
|
228 | 228 | if (barSet->value(category) == 0) { |
|
229 | 229 | label->setVisible(false); |
|
230 | 230 | } else { |
|
231 |
label->setVisible( |
|
|
231 | label->setVisible(m_series->isLabelsVisible()); | |
|
232 | 232 | if (m_series->labelsFormat().isEmpty()) { |
|
233 | 233 | valueLabel = presenter()->numberToString(barSet->value(category)); |
|
234 | 234 | } else { |
@@ -119,7 +119,7 void HorizontalPercentBarChartItem::handleUpdatedBars() | |||
|
119 | 119 | if (p == 0) { |
|
120 | 120 | label->setVisible(false); |
|
121 | 121 | } else { |
|
122 |
label->setVisible( |
|
|
122 | label->setVisible(m_series->isLabelsVisible()); | |
|
123 | 123 | if (m_series->labelsFormat().isEmpty()) { |
|
124 | 124 | vString.append(QStringLiteral("%")); |
|
125 | 125 | valueLabel = vString; |
@@ -124,7 +124,7 void PercentBarChartItem::handleUpdatedBars() | |||
|
124 | 124 | if (p == 0) { |
|
125 | 125 | label->setVisible(false); |
|
126 | 126 | } else { |
|
127 |
label->setVisible( |
|
|
127 | label->setVisible(m_series->isLabelsVisible()); | |
|
128 | 128 | if (m_series->labelsFormat().isEmpty()) { |
|
129 | 129 | vString.append(QStringLiteral("%")); |
|
130 | 130 | valueLabel = vString; |
General Comments 0
You need to be logged in to leave comments.
Login now