subsurface/stats
Berthold Stoeger bdecd98ef5 statistics: consider overhang of horizontal axes
The old code didn't consider that labels can peak out of
horizontal axes if labels are under ticks.

This commit takes this into account. However, it must be
noted that this is only heuristics: Before setting the
size of the axes, the actual minimum and maximum label are
not known, because we round to "nice" numbers. But the
size of the axis can only be set after knowing the overhang,
leading to a circular dependency. Therefore, the code
currently simply uses the minimum and maximum value of
the data, hoping that the "nice" values will not format
to something significantly larger. We could do a multi-pass
scheme, but let's not for now.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2021-01-11 12:59:17 +01:00
..
barseries.cpp build-system: compile stats code on mobile OSs 2021-01-10 15:16:52 -08:00
barseries.h statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
boxseries.cpp build-system: compile stats code on mobile OSs 2021-01-10 15:16:52 -08:00
boxseries.h statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
chartlistmodel.cpp statistics: charts drop down looks better with smaller icons 2021-01-03 13:56:01 -08:00
chartlistmodel.h statistics: add a model that describes a list of charts 2021-01-03 13:41:15 -08:00
CMakeLists.txt statistics: paint custom grid 2021-01-06 12:31:22 -08:00
informationbox.cpp build-system: compile stats code on mobile OSs 2021-01-10 15:16:52 -08:00
informationbox.h statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
legend.cpp statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
legend.h statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
pieseries.cpp build-system: compile stats code on mobile OSs 2021-01-10 15:16:52 -08:00
pieseries.h statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
scatterseries.cpp build-system: compile stats code on mobile OSs 2021-01-10 15:16:52 -08:00
scatterseries.h statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
statsaxis.cpp statistics: consider overhang of horizontal axes 2021-01-11 12:59:17 +01:00
statsaxis.h statistics: consider overhang of horizontal axes 2021-01-11 12:59:17 +01:00
statscolors.cpp
statscolors.h statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
statsgrid.cpp build-system: compile stats code on mobile OSs 2021-01-10 15:16:52 -08:00
statsgrid.h statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
statshelper.h statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
statsseries.cpp statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
statsseries.h statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
statsstate.cpp statistics: don't reset binner if binner is set 2021-01-03 15:41:36 -08:00
statsstate.h statistics: reverse chart selection logic 2021-01-03 13:41:15 -08:00
statstranslations.h
statsvariables.cpp statistics: split people binner 2021-01-10 15:56:40 -08:00
statsvariables.h statistics: add count to box and whisker plots 2021-01-10 14:45:12 -08:00
statsview.cpp statistics: consider overhang of horizontal axes 2021-01-11 12:59:17 +01:00
statsview.h statistics: convert chart to QQuickItem 2021-01-10 15:16:52 -08:00
zvalues.h statistics: paint custom grid 2021-01-06 12:31:22 -08:00