summaryrefslogtreecommitdiffstats
path: root/stats/statsgrid.h
diff options
context:
space:
mode:
Diffstat (limited to 'stats/statsgrid.h')
-rw-r--r--stats/statsgrid.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/stats/statsgrid.h b/stats/statsgrid.h
index 0fdb2a188..47b48b3ac 100644
--- a/stats/statsgrid.h
+++ b/stats/statsgrid.h
@@ -7,16 +7,14 @@
#include <QGraphicsLineItem>
class StatsAxis;
-namespace QtCharts {
- class QChart;
-};
+class QGraphicsScene;
class StatsGrid {
public:
- StatsGrid(QtCharts::QChart *chart, const StatsAxis &xAxis, const StatsAxis &yAxis);
+ StatsGrid(QGraphicsScene *scene, const StatsAxis &xAxis, const StatsAxis &yAxis);
void updatePositions();
private:
- QtCharts::QChart *chart;
+ QGraphicsScene *scene;
const StatsAxis &xAxis, &yAxis;
std::vector<std::unique_ptr<QGraphicsLineItem>> lines;
};