@@ -273,9 +273,9 QChartAxis* QChart::axisX() const | |||
|
273 | 273 | /*! |
|
274 | 274 | Returns the pointer to the y axis object of the chart |
|
275 | 275 | */ |
|
276 | QChartAxis* QChart::axisY() const | |
|
276 | QChartAxis* QChart::axisY(QSeries* series) const | |
|
277 | 277 | { |
|
278 | return d_ptr->m_dataset->axisY(); | |
|
278 | return d_ptr->m_dataset->axisY(series); | |
|
279 | 279 | } |
|
280 | 280 | |
|
281 | 281 | /*! |
@@ -22,6 +22,7 | |||
|
22 | 22 | #define QCHART_H |
|
23 | 23 | |
|
24 | 24 | #include <QSeries> |
|
25 | #include <QLegend> | |
|
25 | 26 | #include <QGraphicsWidget> |
|
26 | 27 | |
|
27 | 28 | class QGraphicsSceneResizeEvent; |
@@ -97,7 +98,7 public: | |||
|
97 | 98 | void scrollDown(); |
|
98 | 99 | |
|
99 | 100 | QChartAxis* axisX() const; |
|
100 | QChartAxis* axisY() const; | |
|
101 | QChartAxis* axisY(QSeries* series = 0) const; | |
|
101 | 102 | |
|
102 | 103 | QLegend* legend() const; |
|
103 | 104 | QRectF margins() const; |
General Comments 0
You need to be logged in to leave comments.
Login now