40 return o->
graph(graphnum);
52 bool savePdf (
QCustomPlot* o,
const QString &fileName,
bool noCosmeticPen=
false,
int width=0,
int height=0,
const QString &pdfCreator=QString(),
const QString &pdfTitle=QString())
54 return o->
savePdf (fileName, noCosmeticPen, width, height, pdfCreator, pdfTitle);
56 bool savePng (
QCustomPlot* o,
const QString &fileName,
int width=0,
int height=0,
double scale=1.0,
int quality=-1)
58 return o->
savePng (fileName, width, height, scale, quality);
60 bool saveJpg (
QCustomPlot* o,
const QString &fileName,
int width=0,
int height=0,
double scale=1.0,
int quality=-1)
62 return o->
saveJpg (fileName, width, height, scale, quality);
64 bool saveBmp (
QCustomPlot* o,
const QString &fileName,
int width=0,
int height=0,
double scale=1.0)
66 return o->
saveBmp (fileName, width, height, scale);
68 bool saveRastered (
QCustomPlot* o,
const QString &fileName,
int width,
int height,
double scale,
const char *format,
int quality=-1)
70 return o->
saveRastered (fileName, width, height, scale, format, quality);
131 void setData (
QCPGraph* g,
const QVector<double> &keys,
const QVector<double> &values)
135 void addData (
QCPGraph* g,
const QVector<double> &keys,
const QVector<double> &values)
150 void setData (
QCPCurve* c,
const QVector<double> &keys,
const QVector<double> &values)
154 void addData (
QCPCurve* c,
const QVector<double> &ts,
const QVector<double> &keys,
const QVector<double> &values)
165 void setData (
QCPBars* c,
const QVector<double> &keys,
const QVector<double> &values)
169 void addData (
QCPBars* c,
const QVector<double> &keys,
const QVector<double> &values)
void addData(QCPGraph *g, const double &key, const double &value)
Definition: decorator.hh:139
QCPAxis * yAxis2(QCustomPlot *o)
Definition: decorator.hh:76
void delete_QCPItemText(QCPItemText *it)
Definition: decorator.hh:240
void setData(QCPDataMap *data, bool copy=false)
void clearData(QCPBars *o)
Definition: decorator.hh:173
Definition: qcustomplot.h:1540
void insertColumn(int newIndex)
void delete_QCustomPlot(QCustomPlot *o)
Definition: decorator.hh:20
void setAutoSubTicks(bool on)
Definition: qcustomplot.h:3421
bool setParentAnchor(QCPItemAnchor *parentAnchor, bool keepPixelPosition=false)
void setTickVectorLabels(const QVector< QString > &vec)
QCustomPlot * new_QCustomPlot(QWidget *parent=0)
Definition: decorator.hh:16
QCPGraph * addGraph(QCPAxis *keyAxis=0, QCPAxis *valueAxis=0)
void clearGraphs(QCustomPlot *o)
Definition: decorator.hh:24
void setLabel(const QString &str)
void clearData(QCPGraph *o)
Definition: decorator.hh:143
void setTickLength(QCPAxis *a, int inside, int outside)
Definition: decorator.hh:113
void insertColumn(QCPLayoutGrid *lg, int column)
Definition: decorator.hh:194
void setAutoTicks(QCPAxis *a, bool on)
Definition: decorator.hh:97
void setRangeZoomAxes(QCPAxis *horizontal, QCPAxis *vertical)
void setTickVector(const QVector< double > &vec)
void delete_QCPGraph(QCPGraph *g)
Definition: decorator.hh:130
bool saveBmp(const QString &fileName, int width=0, int height=0, double scale=1.0)
Q_SLOT void setRange(const QCPRange &range)
void delete_QCPItemTracer(QCPItemTracer *it)
Definition: decorator.hh:228
QCPItemAnchor * anchor(QCPAbstractItem *ai, QString a)
Definition: decorator.hh:222
bool savePng(const QString &fileName, int width=0, int height=0, double scale=1.0, int quality=-1)
void addData(const QCPBarDataMap &dataMap)
QCPItemAnchor * anchor(const QString &name) const
bool savePdf(QCustomPlot *o, const QString &fileName, bool noCosmeticPen=false, int width=0, int height=0, const QString &pdfCreator=QString(), const QString &pdfTitle=QString())
Definition: decorator.hh:52
bool addElement(int row, int column, QCPLayoutElement *element)
void rescaleAxes(QCPAbstractPlottable *ap, bool v=true)
Definition: decorator.hh:178
double pixelToCoord(double value) const
void clearData(QCPCurve *o)
Definition: decorator.hh:158
QCPAxisRect * axisRect(int index=0) const
void setSubTickLength(QCPAxis *a, int inside, int outside)
Definition: decorator.hh:117
QCPAxis * yAxis
Definition: qcustomplot.h:1819
QCPGraph * addGraph(QCustomPlot *o)
Definition: decorator.hh:29
void setCoords(QCPItemPosition *ip, double k, double v)
Definition: decorator.hh:216
void setType(QCPItemPosition *ip, int type)
Definition: decorator.hh:214
Definition: qcustomplot.h:3513
QCPGraph * new_QCPGraph(QCPAxis *key, QCPAxis *value)
Definition: decorator.hh:129
void setData(QCPGraph *g, const QVector< double > &keys, const QVector< double > &values)
Definition: decorator.hh:131
void setData(QCPCurve *c, const QVector< double > &keys, const QVector< double > &values)
Definition: decorator.hh:150
Definition: qcustomplot.h:1680
void delete_QCPItemRichText(QCPItemRichText *it)
Definition: decorator.hh:234
QCPAxisRect * axisRect(QCustomPlot *o, int index=0)
Definition: decorator.hh:78
QCPItemText * new_QCPItemText(QCustomPlot *parent)
Definition: decorator.hh:239
Definition: qcustomplot.h:2169
QCPAxis * yAxis(QCustomPlot *o)
Definition: decorator.hh:75
QCPAxis * yAxis2
Definition: qcustomplot.h:1819
void addData(const QCPCurveDataMap &dataMap)
Definition: qcustomplot.h:757
Definition: qcpitemrichtext.hh:7
Definition: qcustomplot.h:629
QCPItemRichText * new_QCPItemRichText(QCustomPlot *parent)
Definition: decorator.hh:233
Definition: qcustomplot.h:1972
QCPBars * new_QCPBars(QCPAxis *key, QCPAxis *value)
Definition: decorator.hh:163
void setType(PositionType type)
void addData(const QCPDataMap &dataMap)
void delete_QCPItemEllipse(QCPItemEllipse *it)
Definition: decorator.hh:246
void setData(QCPCurveDataMap *data, bool copy=false)
void setAutoTickLabels(QCPAxis *a, bool on)
Definition: decorator.hh:101
bool saveJpg(const QString &fileName, int width=0, int height=0, double scale=1.0, int quality=-1)
QCPGraph * graph(QCustomPlot *o, int graphnum)
Definition: decorator.hh:38
bool saveBmp(QCustomPlot *o, const QString &fileName, int width=0, int height=0, double scale=1.0)
Definition: decorator.hh:64
void registerQCustomPlot()
PositionType
Definition: qcustomplot.h:1549
void setLabel(QCPAxis *a, const QString text)
Definition: decorator.hh:89
void insertRow(QCPLayoutGrid *lg, int row)
Definition: decorator.hh:190
Definition: qcustomplot.h:2660
QCPLegend * legend
Definition: qcustomplot.h:1820
void setCoords(double key, double value)
bool setParentAnchor(QCPItemPosition *ip, QCPItemAnchor *a)
Definition: decorator.hh:215
void setInteraction(QCustomPlot *o, int interaction, bool enabled=true)
Definition: decorator.hh:47
QCPAxis * xAxis2
Definition: qcustomplot.h:1819
void setInteraction(const QCP::Interaction &interaction, bool enabled=true)
bool savePdf(const QString &fileName, bool noCosmeticPen=false, int width=0, int height=0, const QString &pdfCreator=QString(), const QString &pdfTitle=QString())
void setAutoTickLabels(bool on)
Definition: qcustomplot.h:980
void setTickVector(QCPAxis *a, const QVector< double > &ticks)
Definition: decorator.hh:105
void rescaleAxes(bool onlyEnlarge=false) const
void setSubTickLength(int inside, int outside=0)
void setData(QCPBarDataMap *data, bool copy=false)
Definition: qcustomplot.h:3634
SelectableParts selectedParts() const
Definition: qcustomplot.h:1132
bool saveRastered(const QString &fileName, int width, int height, double scale, const char *format, int quality=-1)
void setRangeZoomAxes(QCPAxisRect *ar, QCPAxis *horizontal, QCPAxis *vertical)
Definition: decorator.hh:206
void setRange(QCPAxis *a, double position, double size)
Definition: decorator.hh:93
QCPCurve * new_QCPCurve(QCPAxis *key, QCPAxis *value)
Definition: decorator.hh:148
void setTickVectorLabels(QCPAxis *a, const QVector< QString > &labels)
Definition: decorator.hh:109
bool saveJpg(QCustomPlot *o, const QString &fileName, int width=0, int height=0, double scale=1.0, int quality=-1)
Definition: decorator.hh:60
QCPItemEllipse * new_QCPItemEllipse(QCustomPlot *parent)
Definition: decorator.hh:245
Definition: qcustomplot.h:1503
void addData(QCPGraph *g, const QVector< double > &keys, const QVector< double > &values)
Definition: decorator.hh:135
Definition: qcustomplot.h:1607
void rescaleAxes(QCustomPlot *o, bool v=true)
Definition: decorator.hh:42
QCPGraph * graph(int index) const
QCPItemTracer * new_QCPItemTracer(QCustomPlot *parent)
Definition: decorator.hh:227
Q_SLOT void rescaleAxes(bool onlyVisiblePlottables=false)
void addPlottable(QCustomPlot *o, QCPAbstractPlottable *ap)
Definition: decorator.hh:33
void setTickLength(int inside, int outside=0)
Definition: qcustomplot.h:2823
bool savePng(QCustomPlot *o, const QString &fileName, int width=0, int height=0, double scale=1.0, int quality=-1)
Definition: decorator.hh:56
QCPItemPosition * position(QCPAbstractItem *ai, QString p)
Definition: decorator.hh:221
int selectedParts(const QCPAxis *a)
Definition: decorator.hh:85
void addElement(QCPLayoutGrid *lg, int row, int column, QCPLayoutElement *element)
Definition: decorator.hh:198
QCPAxis * xAxis2(QCustomPlot *o)
Definition: decorator.hh:74
bool addPlottable(QCPAbstractPlottable *plottable)
bool saveRastered(QCustomPlot *o, const QString &fileName, int width, int height, double scale, const char *format, int quality=-1)
Definition: decorator.hh:68
Definition: qcustomplot.h:2490
QCPAxis * xAxis(QCustomPlot *o)
Definition: decorator.hh:73
Definition: decorator.hh:10
void insertRow(int newIndex)
Definition: qcustomplot.h:1388
QCPLegend * legend(QCustomPlot *o)
Definition: decorator.hh:77
void setData(QCPBars *c, const QVector< double > &keys, const QVector< double > &values)
Definition: decorator.hh:165
void delete_QCPCurve(QCPCurve *g)
Definition: decorator.hh:149
void delete_QCPBars(QCPBars *g)
Definition: decorator.hh:164
double pixelToCoord(QCPAxis *a, double pixel)
Definition: decorator.hh:121
void addData(QCPBars *c, const QVector< double > &keys, const QVector< double > &values)
Definition: decorator.hh:169
QCPAxis * xAxis
Definition: qcustomplot.h:1819
void addData(QCPCurve *c, const QVector< double > &ts, const QVector< double > &keys, const QVector< double > &values)
Definition: decorator.hh:154
Interaction
Definition: qcustomplot.h:155
QCPItemPosition * position(const QString &name) const