summaryrefslogtreecommitdiffstats
path: root/stats/qml
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-01-03 00:31:55 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-01-03 13:41:15 -0800
commit7b0455b4d8af2d8a917810cc467376a6d7653a23 (patch)
treeedb3e764d5e7fcddcd2217111325aa7366d8d3aa /stats/qml
parent106f7a8e0ed43a775bec5fa96f6e072c47653850 (diff)
downloadsubsurface-7b0455b4d8af2d8a917810cc467376a6d7653a23.tar.gz
statistics: reverse chart selection logic
The old ways was to select the chart first, then depending on the chart choose the binning. Willem says that it should work the other way round: select the binning (or operation) and make the charts depend on that. I'm not arguing one way or the other, just note that the new way is much more tricky, because it is easy to get unsupported combinations. For example, there is no chart where the first variable is unbinned, but the second axis is binned or has an operation. This makes things distinctly more tricky and this code still needs a thorough audit. Since this is all more tricky, implement a "invalid" chart state. Ideally that should be never shown to the user, but let's try to be defensive. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'stats/qml')
0 files changed, 0 insertions, 0 deletions