@@ -50,7 +50,6 public: | |||||
50 | qreal startValue(const QString& categoryLabel = QString()) const; |
|
50 | qreal startValue(const QString& categoryLabel = QString()) const; | |
51 | void setStartValue(qreal min); |
|
51 | void setStartValue(qreal min); | |
52 |
|
52 | |||
53 | // qreal startValue(const QString& categoryLabel) const; |
|
|||
54 | qreal endValue(const QString& categoryLabel) const; |
|
53 | qreal endValue(const QString& categoryLabel) const; | |
55 |
|
54 | |||
56 | QStringList categoriesLabels(); |
|
55 | QStringList categoriesLabels(); |
@@ -428,7 +428,7 void QXYModelMapperPrivate::insertData(int start, int end) | |||||
428 | } |
|
428 | } | |
429 | } |
|
429 | } | |
430 |
|
430 | |||
431 |
// remove excess of |
|
431 | // remove excess of points (above m_count) | |
432 | if (m_count != -1 && m_series->points().size() > m_count) |
|
432 | if (m_count != -1 && m_series->points().size() > m_count) | |
433 | for (int i = m_series->points().size() - 1; i >= m_count; i--) { |
|
433 | for (int i = m_series->points().size() - 1; i >= m_count; i--) { | |
434 | m_series->remove(m_series->points().at(i)); |
|
434 | m_series->remove(m_series->points().at(i)); | |
@@ -484,7 +484,7 void QXYModelMapperPrivate::initializeXYFromModel() | |||||
484 | // clear current content |
|
484 | // clear current content | |
485 | m_series->clear(); |
|
485 | m_series->clear(); | |
486 |
|
486 | |||
487 |
// create the initial |
|
487 | // create the initial points set | |
488 | int pointPos = 0; |
|
488 | int pointPos = 0; | |
489 | QModelIndex xIndex = xModelIndex(pointPos); |
|
489 | QModelIndex xIndex = xModelIndex(pointPos); | |
490 | QModelIndex yIndex = yModelIndex(pointPos); |
|
490 | QModelIndex yIndex = yModelIndex(pointPos); |
General Comments 0
You need to be logged in to leave comments.
Login now