@@ -36,12 +36,12 const Domain ChartDataSet::domain(QChartAxis *axisY) const | |||
|
36 | 36 | void ChartDataSet::addSeries(QChartSeries* series, QChartAxis *axisY) |
|
37 | 37 | { |
|
38 | 38 | // TODO: we should check the series not already added |
|
39 | series->setParent(this); // take ownership | |
|
40 | 39 | |
|
41 | 40 | series->setParent(this); // take ownership |
|
42 | 41 | clearDomains(); |
|
43 | 42 | |
|
44 | 43 | if(axisY==0) axisY = m_axisY; |
|
44 | axisY->setParent(this); // take ownership | |
|
45 | 45 | |
|
46 | 46 | QList<QChartSeries*> seriesList = m_seriesMap.values(axisY); |
|
47 | 47 |
General Comments 0
You need to be logged in to leave comments.
Login now