##// END OF EJS Templates
added stream operator to scatter series
added stream operator to scatter series

File last commit:

r139:167329998526
r180:6a67b4477dab
Show More
chartdataset_p.h
36 lines | 745 B | text/x-c | CLexer
#ifndef CHARTENGINE_P_H_
#define CHARTENGINE_P_H_
#include <qchartseries.h>
#include "domain_p.h"
#include <QVector>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class ChartDataSet : public QObject
{
Q_OBJECT
public:
ChartDataSet(QObject* parent =0);
virtual ~ChartDataSet();
void addSeries(QChartSeries* series);
void addDomain(const Domain& domain);
bool nextDomain();
bool previousDomain();
void clearDomains();
const Domain& domain() const;
signals:
void seriesAdded(QChartSeries* series);
void domainChanged(const Domain& domain);
private:
QList<QChartSeries*> m_chartSeries;
QVector<Domain> m_domains;
int m_domainIndex;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif /* CHARTENGINE_P_H_ */