statistics: make confidence area and regression line opt-in

This is not perfect - the polygon of the confidence area is
calculated even if it is not shown. Oh well.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2021-01-19 11:18:10 +01:00 committed by bstoeger
parent ff536e98fc
commit ba259fb1d6
5 changed files with 57 additions and 21 deletions

View file

@ -108,6 +108,8 @@ public:
bool median;
bool mean;
bool quartiles;
bool regression;
bool confidence;
const StatsBinner *var1Binner; // nullptr: undefined
const StatsBinner *var2Binner; // nullptr: undefined
StatsOperation var2Operation;