@@ -234,13 +234,13 void ChartDataSet::setDomain(int index) | |||
|
234 | 234 | foreach(QSeries* series, seriesList) { |
|
235 | 235 | emit seriesDomainChanged(series,domain); |
|
236 | 236 | } |
|
237 |
axis-> |
|
|
237 | axis->updateRange(domain.m_minY,domain.m_maxY); | |
|
238 | 238 | emit axisRangeChanged(axis,labels); |
|
239 | 239 | |
|
240 | 240 | } |
|
241 | 241 | |
|
242 | 242 | QStringList labels = createLabels(axisX(),domain.m_minX,domain.m_maxX); |
|
243 |
axisX()-> |
|
|
243 | axisX()->updateRange(domain.m_minX,domain.m_maxY); | |
|
244 | 244 | emit axisRangeChanged(axisX(),labels); |
|
245 | 245 | } |
|
246 | 246 |
General Comments 0
You need to be logged in to leave comments.
Login now