##// END OF EJS Templates
Adds AxisY(series) getter
Michal Klocek -
r899:46c4ead56465
parent child
Show More
@@ -273,9 +273,9 QChartAxis* QChart::axisX() const
273 /*!
273 /*!
274 Returns the pointer to the y axis object of the chart
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 #define QCHART_H
22 #define QCHART_H
23
23
24 #include <QSeries>
24 #include <QSeries>
25 #include <QLegend>
25 #include <QGraphicsWidget>
26 #include <QGraphicsWidget>
26
27
27 class QGraphicsSceneResizeEvent;
28 class QGraphicsSceneResizeEvent;
@@ -97,7 +98,7 public:
97 void scrollDown();
98 void scrollDown();
98
99
99 QChartAxis* axisX() const;
100 QChartAxis* axisX() const;
100 QChartAxis* axisY() const;
101 QChartAxis* axisY(QSeries* series = 0) const;
101
102
102 QLegend* legend() const;
103 QLegend* legend() const;
103 QRectF margins() const;
104 QRectF margins() const;
General Comments 0
You need to be logged in to leave comments. Login now