mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
1.46 moved the average's and the target zones' labels beside the plot, in a right margin sized to the longest label. On a phone that margin took about a third of the plot's width, and the legend, wrapping into the narrower space, took more of its height: a pulse chart drew at 160 x 66 px instead of 232 x 108. Below 520 px the labels sit inside the plot again, the average's at the top left as before and a zone's at the top right of its band, and the plot keeps no room beside it. The x ticks assumed an 80 px date label. A 90-day chart's month starts sit about 78 px apart on a phone, so the month grid never fit and the axis showed one date. The label width now comes from a date in the reader's format (10/01/2026 draws at 58 px). A yearly grid is labelled with the year alone, narrow enough for one tick a year, and with the year it marks when its point falls in the December before. The y axis shows the decimals its tick step needs: 57, 58, 59 bpm instead of 57.0, 58.0, 59.0.