mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
18a5b5b593
commit
b7e62307c5
3 changed files with 13 additions and 8 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue