statistics: save dive list with quartiles

To make box-and-whiskers charts selectable (select corresponding
dives when clicking on box), save the dive list with the quartile
data.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2021-01-20 14:49:49 +01:00 committed by Dirk Hohndel
parent 18a5b5b593
commit b7e62307c5
3 changed files with 13 additions and 8 deletions

View file

@ -47,10 +47,10 @@ struct StatsOperationResults {
// For median and quartiles.
struct StatsQuartiles {
std::vector<dive *> dives;
double min;
double q1, q2, q3;
double max;
int count;
bool isValid() const;
};