diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-25 16:09:31 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-25 16:09:31 +0200 |
| commit | fb1d31fdcd5d5c8b31bb098c34143996d47e618f (patch) | |
| tree | 41fd165f467a99fef784e05759c71d89605a85ef /CHANGELOG.md | |
| parent | a7941bb92df67686b018fbb601cbf413ea909d14 (diff) | |
| download | prognosis-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 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index e38faf9..63ba241 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,15 @@ Terse, newest first. Versions are git tags. +## 0.1.3 — unreleased + +### Fixed +- Chart axis labels no longer repeat on a narrow range. A 1.2 degree span + rounded to whole degrees put "15" against two different rows, so the axis + said they were the same temperature. Below a 2 degree span the labels carry + one decimal, falling back to whole degrees where a decimal would not fit the + gutter. + ## 0.1.2 — 2026-08-25 ### Changed |
