@@ -38,6 +38,7 void ChartDataSet::addSeries(QChartSeries* series, QChartAxis *axisY) | |||||
38 | // TODO: we should check the series not already added |
|
38 | // TODO: we should check the series not already added | |
39 | series->setParent(this); // take ownership |
|
39 | series->setParent(this); // take ownership | |
40 |
|
40 | |||
|
41 | series->setParent(this); // take ownership | |||
41 | clearDomains(); |
|
42 | clearDomains(); | |
42 |
|
43 | |||
43 | if(axisY==0) axisY = m_axisY; |
|
44 | if(axisY==0) axisY = m_axisY; |
@@ -26,7 +26,6 public: | |||||
26 |
|
26 | |||
27 |
void addSeries(QChartSeries* series,QChartAxis* axisY=0) |
|
27 | void addSeries(QChartSeries* series,QChartAxis* axisY=0);// takes ownership | |
28 | void removeSeries(QChartSeries* series); |
|
28 | void removeSeries(QChartSeries* series); | |
29 |
|
||||
30 | int margin() const; |
|
29 | int margin() const; | |
31 |
|
30 | |||
32 | void setChartTitle(const QString& title); |
|
31 | void setChartTitle(const QString& title); |
General Comments 0
You need to be logged in to leave comments.
Login now