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
|
@ -98,7 +98,7 @@ std::vector<QString> BoxSeries::formatInformation(const Item &item) const
|
|||
{
|
||||
QLocale loc;
|
||||
return {
|
||||
StatsTranslations::tr("%1 (%2 dives)").arg(item.binName, loc.toString(item.q.count)),
|
||||
StatsTranslations::tr("%1 (%2 dives)").arg(item.binName, loc.toString((int)item.q.dives.size())),
|
||||
QStringLiteral("%1:").arg(variable),
|
||||
infoItem(StatsTranslations::tr("min"), unit, decimals, item.q.min),
|
||||
infoItem(StatsTranslations::tr("Q1"), unit, decimals, item.q.q1),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue