##// END OF EJS Templates
Fixed issue with multiple QML charts...
Fixed issue with multiple QML charts If you had a QML chart with line series and another QML chart with some other series, the latter was not drawn.

File last commit:

r183:45734e367adb
r213:d6e1b3166f68
Show More
qbarset.h
32 lines | 690 B | text/x-c | CLexer
#ifndef QBARSET_H
#define QBARSET_H
#include "qchartglobal.h"
#include <QPen>
#include <QBrush>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QTCOMMERCIALCHART_EXPORT QBarSet // TODO? : public QObject
{
//Q_OBJECT;
public:
QBarSet();
void setName(QString name);
QString name();
QBarSet& operator << (const qreal &value); // appends new value to set
int count(); // count of values in set
qreal valueAt(int index); // for modifying individual values
void setValue(int index, qreal value); //
private:
QString mName;
QList<qreal> mValues;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // QBARSET_H