diff --git a/src/linechart/qlinechartseries.cpp b/src/linechart/qlinechartseries.cpp index 8ae77c8..ecc0d32 100644 --- a/src/linechart/qlinechartseries.cpp +++ b/src/linechart/qlinechartseries.cpp @@ -66,6 +66,10 @@ QDebug operator<< (QDebug debug, const QLineChartSeries series) return debug.space(); } +void QLineChartSeries::setPointsVisible(bool visible) +{ + m_pointsVisible=visible; +} #include "moc_qlinechartseries.cpp" QTCOMMERCIALCHART_END_NAMESPACE diff --git a/src/linechart/qlinechartseries.h b/src/linechart/qlinechartseries.h index 0d26b8e..2a5e50a 100644 --- a/src/linechart/qlinechartseries.h +++ b/src/linechart/qlinechartseries.h @@ -25,7 +25,7 @@ public: // from QChartSeries void setPen(const QPen& pen); const QPen& pen() const { return m_pen;} - void pointsVisible(bool visible); + void setPointsVisible(bool visible); bool isPointsVisible() const {return m_pointsVisible;} int count() const;