aboutsummaryrefslogtreecommitdiffstats
path: root/snap
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-01-20 14:36:59 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-02-13 13:02:54 -0800
commit18a5b5b5930247ed880cfbe8f94778b4c19b0bb2 (patch)
treecdaf28e252a7e512774379e2f12e981e1f68ccb3 /snap
parent622e9ba373f898a0d51fc009f3615d83ffd3a7fc (diff)
downloadsubsurface-18a5b5b5930247ed880cfbe8f94778b4c19b0bb2.tar.gz
statistics: use dive instead of count bins
If we want to make bar charts selectable (when clicking on a bar select the dives the bar represents), then we must store the dives behind bars. Therefore, use dive-based bins instead of count based bins in bar charts and pie charts. This gave some churn because every structure where a count is stored has to be changed to store a vector of dives. Try to use move semantics where possible to avoid duplication of dive lists. On a positive note, the count_dives() function of the binners can now be removed, since it is unused. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'snap')
0 files changed, 0 insertions, 0 deletions