summaryrefslogtreecommitdiffstats
path: root/examples/charts/stackedbarchartdrilldown/drilldownchart.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/charts/stackedbarchartdrilldown/drilldownchart.h')
-rw-r--r--examples/charts/stackedbarchartdrilldown/drilldownchart.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/charts/stackedbarchartdrilldown/drilldownchart.h b/examples/charts/stackedbarchartdrilldown/drilldownchart.h
index 61725f17..7544bae5 100644
--- a/examples/charts/stackedbarchartdrilldown/drilldownchart.h
+++ b/examples/charts/stackedbarchartdrilldown/drilldownchart.h
@@ -33,6 +33,11 @@
#include <QtCharts/QChart>
#include "drilldownseries.h"
+namespace QtCharts {
+class QBarCategoryAxis;
+class QValueAxis;
+}
+
QT_CHARTS_USE_NAMESPACE
//! [1]
@@ -49,6 +54,8 @@ public Q_SLOTS:
private:
DrilldownBarSeries *m_currentSeries;
+ QBarCategoryAxis *m_axisX;
+ QValueAxis *m_axisY;
};
//! [1]