@@ -52,14 +52,14 public: | |||||
52 | void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); } |
|
52 | void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); } | |
53 | QAbstractAxis *axisY() { return m_axes->axisY(); } |
|
53 | QAbstractAxis *axisY() { return m_axes->axisY(); } | |
54 | void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); } |
|
54 | void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); } | |
55 |
|
|
55 | QAbstractAxis *axisXTop() { return m_axes->axisXTop(); } | |
56 |
|
|
56 | void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); } | |
57 |
|
|
57 | QAbstractAxis *axisYRight() { return m_axes->axisYRight(); } | |
58 |
|
|
58 | void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); } | |
59 |
|
|
59 | QAbstractAxis *axisAngular() { return m_axes->axisX(); } | |
60 |
|
|
60 | void setAxisAngular(QAbstractAxis *axis) { m_axes->setAxisX(axis); } | |
61 |
|
|
61 | QAbstractAxis *axisRadial() { return m_axes->axisY(); } | |
62 |
|
|
62 | void setAxisRadial(QAbstractAxis *axis) { m_axes->setAxisY(axis); } | |
63 | qreal borderWidth() const; |
|
63 | qreal borderWidth() const; | |
64 | void setBorderWidth(qreal borderWidth); |
|
64 | void setBorderWidth(qreal borderWidth); | |
65 | QString brushFilename() const; |
|
65 | QString brushFilename() const; |
@@ -91,10 +91,10 public: | |||||
91 | void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); } |
|
91 | void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); } | |
92 | QAbstractAxis *axisY() { return m_axes->axisY(); } |
|
92 | QAbstractAxis *axisY() { return m_axes->axisY(); } | |
93 | void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); } |
|
93 | void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); } | |
94 |
|
|
94 | QAbstractAxis *axisXTop() { return m_axes->axisXTop(); } | |
95 |
|
|
95 | void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); } | |
96 |
|
|
96 | QAbstractAxis *axisYRight() { return m_axes->axisYRight(); } | |
97 |
|
|
97 | void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); } | |
98 | QQmlListProperty<QObject> seriesChildren(); |
|
98 | QQmlListProperty<QObject> seriesChildren(); | |
99 |
|
99 | |||
100 | public: |
|
100 | public: | |
@@ -138,10 +138,10 public: | |||||
138 | void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); } |
|
138 | void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); } | |
139 | QAbstractAxis *axisY() { return m_axes->axisY(); } |
|
139 | QAbstractAxis *axisY() { return m_axes->axisY(); } | |
140 | void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); } |
|
140 | void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); } | |
141 |
|
|
141 | QAbstractAxis *axisXTop() { return m_axes->axisXTop(); } | |
142 |
|
|
142 | void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); } | |
143 |
|
|
143 | QAbstractAxis *axisYRight() { return m_axes->axisYRight(); } | |
144 |
|
|
144 | void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); } | |
145 | QQmlListProperty<QObject> seriesChildren(); |
|
145 | QQmlListProperty<QObject> seriesChildren(); | |
146 |
|
146 | |||
147 | public: |
|
147 | public: | |
@@ -185,10 +185,10 public: | |||||
185 | void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); } |
|
185 | void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); } | |
186 | QAbstractAxis *axisY() { return m_axes->axisY(); } |
|
186 | QAbstractAxis *axisY() { return m_axes->axisY(); } | |
187 | void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); } |
|
187 | void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); } | |
188 |
|
|
188 | QAbstractAxis *axisXTop() { return m_axes->axisXTop(); } | |
189 |
|
|
189 | void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); } | |
190 |
|
|
190 | QAbstractAxis *axisYRight() { return m_axes->axisYRight(); } | |
191 |
|
|
191 | void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); } | |
192 | QQmlListProperty<QObject> seriesChildren(); |
|
192 | QQmlListProperty<QObject> seriesChildren(); | |
193 |
|
193 | |||
194 | public: |
|
194 | public: | |
@@ -232,10 +232,10 public: | |||||
232 | void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); } |
|
232 | void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); } | |
233 | QAbstractAxis *axisY() { return m_axes->axisY(); } |
|
233 | QAbstractAxis *axisY() { return m_axes->axisY(); } | |
234 | void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); } |
|
234 | void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); } | |
235 |
|
|
235 | QAbstractAxis *axisXTop() { return m_axes->axisXTop(); } | |
236 |
|
|
236 | void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); } | |
237 |
|
|
237 | QAbstractAxis *axisYRight() { return m_axes->axisYRight(); } | |
238 |
|
|
238 | void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); } | |
239 | QQmlListProperty<QObject> seriesChildren(); |
|
239 | QQmlListProperty<QObject> seriesChildren(); | |
240 |
|
240 | |||
241 | public: |
|
241 | public: | |
@@ -279,10 +279,10 public: | |||||
279 | void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); } |
|
279 | void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); } | |
280 | QAbstractAxis *axisY() { return m_axes->axisY(); } |
|
280 | QAbstractAxis *axisY() { return m_axes->axisY(); } | |
281 | void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); } |
|
281 | void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); } | |
282 |
|
|
282 | QAbstractAxis *axisXTop() { return m_axes->axisXTop(); } | |
283 |
|
|
283 | void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); } | |
284 |
|
|
284 | QAbstractAxis *axisYRight() { return m_axes->axisYRight(); } | |
285 |
|
|
285 | void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); } | |
286 | QQmlListProperty<QObject> seriesChildren(); |
|
286 | QQmlListProperty<QObject> seriesChildren(); | |
287 |
|
287 | |||
288 | public: |
|
288 | public: | |
@@ -326,10 +326,10 public: | |||||
326 | void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); } |
|
326 | void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); } | |
327 | QAbstractAxis *axisY() { return m_axes->axisY(); } |
|
327 | QAbstractAxis *axisY() { return m_axes->axisY(); } | |
328 | void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); } |
|
328 | void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); } | |
329 |
|
|
329 | QAbstractAxis *axisXTop() { return m_axes->axisXTop(); } | |
330 |
|
|
330 | void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); } | |
331 |
|
|
331 | QAbstractAxis *axisYRight() { return m_axes->axisYRight(); } | |
332 |
|
|
332 | void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); } | |
333 | QQmlListProperty<QObject> seriesChildren(); |
|
333 | QQmlListProperty<QObject> seriesChildren(); | |
334 |
|
334 | |||
335 | public: |
|
335 | public: |
@@ -131,18 +131,18 public: | |||||
131 | QColor titleColor(); |
|
131 | QColor titleColor(); | |
132 | void setBackgroundColor(QColor color); |
|
132 | void setBackgroundColor(QColor color); | |
133 | QColor backgroundColor(); |
|
133 | QColor backgroundColor(); | |
134 |
|
|
134 | void setPlotAreaColor(QColor color); | |
135 |
|
|
135 | QColor plotAreaColor(); | |
136 |
|
|
136 | void setLocalizeNumbers(bool localize); | |
137 |
|
|
137 | bool localizeNumbers() const; | |
138 |
|
|
138 | void setLocale(const QLocale &locale); | |
139 |
|
|
139 | QLocale locale() const; | |
140 |
|
140 | |||
141 | int count(); |
|
141 | int count(); | |
142 | void setDropShadowEnabled(bool enabled); |
|
142 | void setDropShadowEnabled(bool enabled); | |
143 | bool dropShadowEnabled(); |
|
143 | bool dropShadowEnabled(); | |
144 |
|
|
144 | qreal backgroundRoundness() const; | |
145 |
|
|
145 | void setBackgroundRoundness(qreal diameter); | |
146 |
|
146 | |||
147 | // Margins & plotArea |
|
147 | // Margins & plotArea | |
148 | qreal topMargin(); |
|
148 | qreal topMargin(); | |
@@ -150,7 +150,7 public: | |||||
150 | qreal leftMargin(); |
|
150 | qreal leftMargin(); | |
151 | qreal rightMargin(); |
|
151 | qreal rightMargin(); | |
152 | DeclarativeMargins *minimumMargins() { return m_margins; } |
|
152 | DeclarativeMargins *minimumMargins() { return m_margins; } | |
153 |
|
|
153 | DeclarativeMargins *margins() { return m_margins; } | |
154 | QRectF plotArea() { return m_chart->plotArea(); } |
|
154 | QRectF plotArea() { return m_chart->plotArea(); } | |
155 |
|
155 | |||
156 | // Axis handling |
|
156 | // Axis handling |
@@ -54,14 +54,14 public: | |||||
54 | void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); } |
|
54 | void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); } | |
55 | QAbstractAxis *axisY() { return m_axes->axisY(); } |
|
55 | QAbstractAxis *axisY() { return m_axes->axisY(); } | |
56 | void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); } |
|
56 | void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); } | |
57 |
|
|
57 | QAbstractAxis *axisXTop() { return m_axes->axisXTop(); } | |
58 |
|
|
58 | void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); } | |
59 |
|
|
59 | QAbstractAxis *axisYRight() { return m_axes->axisYRight(); } | |
60 |
|
|
60 | void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); } | |
61 |
|
|
61 | QAbstractAxis *axisAngular() { return m_axes->axisX(); } | |
62 |
|
|
62 | void setAxisAngular(QAbstractAxis *axis) { m_axes->setAxisX(axis); } | |
63 |
|
|
63 | QAbstractAxis *axisRadial() { return m_axes->axisY(); } | |
64 |
|
|
64 | void setAxisRadial(QAbstractAxis *axis) { m_axes->setAxisY(axis); } | |
65 | qreal width() const; |
|
65 | qreal width() const; | |
66 | void setWidth(qreal width); |
|
66 | void setWidth(qreal width); | |
67 | Qt::PenStyle style() const; |
|
67 | Qt::PenStyle style() const; |
@@ -54,14 +54,14 public: | |||||
54 | void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); } |
|
54 | void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); } | |
55 | QAbstractAxis *axisY() { return m_axes->axisY(); } |
|
55 | QAbstractAxis *axisY() { return m_axes->axisY(); } | |
56 | void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); } |
|
56 | void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); } | |
57 |
|
|
57 | QAbstractAxis *axisXTop() { return m_axes->axisXTop(); } | |
58 |
|
|
58 | void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); } | |
59 |
|
|
59 | QAbstractAxis *axisYRight() { return m_axes->axisYRight(); } | |
60 |
|
|
60 | void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); } | |
61 |
|
|
61 | QAbstractAxis *axisAngular() { return m_axes->axisX(); } | |
62 |
|
|
62 | void setAxisAngular(QAbstractAxis *axis) { m_axes->setAxisX(axis); } | |
63 |
|
|
63 | QAbstractAxis *axisRadial() { return m_axes->axisY(); } | |
64 |
|
|
64 | void setAxisRadial(QAbstractAxis *axis) { m_axes->setAxisY(axis); } | |
65 | qreal borderWidth() const; |
|
65 | qreal borderWidth() const; | |
66 | void setBorderWidth(qreal borderWidth); |
|
66 | void setBorderWidth(qreal borderWidth); | |
67 | QQmlListProperty<QObject> declarativeChildren(); |
|
67 | QQmlListProperty<QObject> declarativeChildren(); |
@@ -54,14 +54,14 public: | |||||
54 | void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); } |
|
54 | void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); } | |
55 | QAbstractAxis *axisY() { return m_axes->axisY(); } |
|
55 | QAbstractAxis *axisY() { return m_axes->axisY(); } | |
56 | void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); } |
|
56 | void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); } | |
57 |
|
|
57 | QAbstractAxis *axisXTop() { return m_axes->axisXTop(); } | |
58 |
|
|
58 | void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); } | |
59 |
|
|
59 | QAbstractAxis *axisYRight() { return m_axes->axisYRight(); } | |
60 |
|
|
60 | void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); } | |
61 |
|
|
61 | QAbstractAxis *axisAngular() { return m_axes->axisX(); } | |
62 |
|
|
62 | void setAxisAngular(QAbstractAxis *axis) { m_axes->setAxisX(axis); } | |
63 |
|
|
63 | QAbstractAxis *axisRadial() { return m_axes->axisY(); } | |
64 |
|
|
64 | void setAxisRadial(QAbstractAxis *axis) { m_axes->setAxisY(axis); } | |
65 | qreal width() const; |
|
65 | qreal width() const; | |
66 | void setWidth(qreal width); |
|
66 | void setWidth(qreal width); | |
67 | Qt::PenStyle style() const; |
|
67 | Qt::PenStyle style() const; |
General Comments 0
You need to be logged in to leave comments.
Login now