##// END OF EJS Templates
adds message to charts.prf
adds message to charts.prf

File last commit:

r12:54a770e32f2a
r18:ff85d1e7d272
Show More
qchart.h
31 lines | 532 B | text/x-c | CLexer
#ifndef CHART_H
#define CHART_H
#include <qchartconfig.h>
#include <qxyseries.h>
#include <QGraphicsItem>
QCHART_BEGIN_NAMESPACE
class QCHART_EXPORT QChart : public QGraphicsItem
{
protected:
QChart(QGraphicsItem* parent =0);
public:
virtual ~QChart();
static QChart* createXYLineChart(const QList<QXYSeries*>& dataset);
virtual void setSize(const QSizeF& rect)=0;
void setMargin(int margin);
int margin() const { return m_marginSize;}
private:
int m_marginSize;
};
QCHART_END_NAMESPACE
#endif