diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2021-01-20 14:36:59 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-02-13 13:02:54 -0800 |
commit | 18a5b5b5930247ed880cfbe8f94778b4c19b0bb2 (patch) | |
tree | cdaf28e252a7e512774379e2f12e981e1f68ccb3 /snap | |
parent | 622e9ba373f898a0d51fc009f3615d83ffd3a7fc (diff) | |
download | subsurface-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