##// END OF EJS Templates
Work-around for a bug with plot domain list indexes
Tero Ahola -
r50:231fdcb4240b
parent child
Show More
@@ -138,7 +138,8 void QChart::setSize(const QSizeF& size)
138 138 foreach(XYLineChartItem* item , d->m_xyLineChartItems)
139 139 item->updateXYPlotDomain(d->m_plotDomainList.at(d->m_plotDataIndex));
140 140
141 d->m_grid->setXYPlotData(d->m_plotDomainList.at(d->m_plotDataIndex));
141 if (d->m_plotDomainList.count())
142 d->m_grid->setXYPlotData(d->m_plotDomainList.at(d->m_plotDataIndex));
142 143 update();
143 144 }
144 145
General Comments 0
You need to be logged in to leave comments. Login now