summaryrefslogtreecommitdiffstats
path: root/stats/barseries.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2021-01-17 13:34:18 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-02-13 13:02:54 -0800
commit5c098eea29fdb1cd663b78db4e430a1c76c2209a (patch)
treed084244a3dfc20739e78bc4284e0b1075bb82a8e /stats/barseries.h
parent1797b59c102eaa5b2091504d96616433aaf0a239 (diff)
downloadsubsurface-5c098eea29fdb1cd663b78db4e430a1c76c2209a.tar.gz
statistics: select dives from Scatter Plot
When clicking on items in a plot, select the corresponding dives. This can be useful for data validation. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'stats/barseries.h')
-rw-r--r--stats/barseries.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stats/barseries.h b/stats/barseries.h
index 8c83648ea..9e0eec355 100644
--- a/stats/barseries.h
+++ b/stats/barseries.h
@@ -69,6 +69,8 @@ public:
void updatePositions() override;
bool hover(QPointF pos) override;
void unhighlight() override;
+ void selectItemsUnderMouse(const QPointF &point) override;
+
private:
BarSeries(StatsView &view, StatsAxis *xAxis, StatsAxis *yAxis,
bool horizontal, bool stacked, const QString &categoryName, const StatsVariable *valueVariable,