summaryrefslogtreecommitdiffstats
path: root/stats/scatterseries.h
diff options
context:
space:
mode:
Diffstat (limited to 'stats/scatterseries.h')
-rw-r--r--stats/scatterseries.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/stats/scatterseries.h b/stats/scatterseries.h
index 212a8e4ea..ec25369ae 100644
--- a/stats/scatterseries.h
+++ b/stats/scatterseries.h
@@ -11,13 +11,14 @@
#include <QGraphicsRectItem>
class QGraphicsPixmapItem;
+class QGraphicsScene;
class InformationBox;
struct StatsVariable;
struct dive;
class ScatterSeries : public StatsSeries {
public:
- ScatterSeries(QtCharts::QChart *chart, StatsAxis *xAxis, StatsAxis *yAxis,
+ ScatterSeries(QGraphicsScene *scene, StatsAxis *xAxis, StatsAxis *yAxis,
const StatsVariable &varX, const StatsVariable &varY);
~ScatterSeries();
@@ -36,7 +37,7 @@ private:
std::unique_ptr<QGraphicsPixmapItem> item;
dive *d;
double pos, value;
- Item(QtCharts::QChart *chart, ScatterSeries *series, dive *d, double pos, double value);
+ Item(QGraphicsScene *scene, ScatterSeries *series, dive *d, double pos, double value);
void updatePosition(ScatterSeries *series);
void highlight(bool highlight);
};