@@ -101,7 +101,7 void QScatterSeries::addData(QPointF value) | |||||
101 | */ |
|
101 | */ | |
102 | void QScatterSeries::addData(QList<QPointF> points) |
|
102 | void QScatterSeries::addData(QList<QPointF> points) | |
103 | { |
|
103 | { | |
104 |
d->m_data.append( |
|
104 | d->m_data.append(points); | |
105 | emit changed(); |
|
105 | emit changed(); | |
106 | } |
|
106 | } | |
107 |
|
107 | |||
@@ -135,7 +135,7 QScatterSeries& QScatterSeries::operator << (QList<QPointF> value) | |||||
135 | */ |
|
135 | */ | |
136 | void QScatterSeries::setData(QList<QPointF> points) |
|
136 | void QScatterSeries::setData(QList<QPointF> points) | |
137 | { |
|
137 | { | |
138 |
d->m_data = |
|
138 | d->m_data = points; | |
139 | emit changed(); |
|
139 | emit changed(); | |
140 | } |
|
140 | } | |
141 |
|
141 |
General Comments 0
You need to be logged in to leave comments.
Login now