@@ -138,7 +138,8 void QChart::setSize(const QSizeF& size) | |||||
138 | foreach(XYLineChartItem* item , d->m_xyLineChartItems) |
|
138 | foreach(XYLineChartItem* item , d->m_xyLineChartItems) | |
139 | item->updateXYPlotDomain(d->m_plotDomainList.at(d->m_plotDataIndex)); |
|
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 | update(); |
|
143 | update(); | |
143 | } |
|
144 | } | |
144 |
|
145 |
General Comments 0
You need to be logged in to leave comments.
Login now