#include "qxychartseries.h" QTCOMMERCIALCHART_BEGIN_NAMESPACE QXYChartSeries::QXYChartSeries(QObject* parent):QChartSeries(parent), m_color() { } QXYChartSeries::~QXYChartSeries() { } QXYChartSeries* QXYChartSeries::create(QObject* parent) { //TODO: here we take QChartData when it is ready // return null if malformed; return new QXYChartSeries(parent); } void QXYChartSeries::setColor(const QColor& color) { m_color = color; } void QXYChartSeries::add(qreal x,qreal y) { m_x<