##// END OF EJS Templates
Fix donutbreakdown example...
Titta Heikkala -
r2757:12a8e69d7602
parent child
Show More
@@ -89,7 +89,7 void DonutBreakdownChart::recalculateAngles()
89 void DonutBreakdownChart::updateLegendMarkers()
89 void DonutBreakdownChart::updateLegendMarkers()
90 {
90 {
91 // go through all markers
91 // go through all markers
92 foreach (QAbstractSeries *series, QChart::series()) {
92 foreach (QAbstractSeries *series, series()) {
93 foreach (QLegendMarker *marker, legend()->markers(series)) {
93 foreach (QLegendMarker *marker, legend()->markers(series)) {
94 QPieLegendMarker *pieMarker = qobject_cast<QPieLegendMarker *>(marker);
94 QPieLegendMarker *pieMarker = qobject_cast<QPieLegendMarker *>(marker);
95 if (series == m_mainSeries) {
95 if (series == m_mainSeries) {
General Comments 0
You need to be logged in to leave comments. Login now