aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-08-25 16:09:31 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-08-25 16:09:31 +0200
commitfb1d31fdcd5d5c8b31bb098c34143996d47e618f (patch)
tree41fd165f467a99fef784e05759c71d89605a85ef /docs
parenta7941bb92df67686b018fbb601cbf413ea909d14 (diff)
downloadprognosis-fb1d31fdcd5d5c8b31bb098c34143996d47e618f.tar.gz
prognosis-fb1d31fdcd5d5c8b31bb098c34143996d47e618f.zip
chart: label a narrow axis in decimals
A span of 1.2 degrees rounded to whole degrees printed "15" against both the middle and bottom rows, so the axis asserted that two rows drawn at different heights were the same temperature. It reads as a rendering fault, and the scale becomes useless exactly when the chart is at its most magnified. Below a two degree span the labels carry one decimal. Two degrees is where five rows put adjacent labels half a degree apart, which still rounds apart; below that they collide. A decimal label that would not fit the gutter -- well below freezing, where the minus sign costs a column -- falls back to whole degrees, which is wrong but legible and beats shearing the column. The gutter widens by one to hold "16.0°".
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions