mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
On a per-minute heart-rate stream the 7-day chart showed only the first half of the week. The range read raw rows oldest-first under a 5000-row limit, and seven days of per-minute samples are 10 080 rows, so the newest days never arrived. The chart folds every range into days anyway, so the 7-day range now asks for one row per local day like the longer ranges. The whole week arrives whatever the sampling rate, and the 7-day and 30-day ranges share one day boundary and one source pick per day. The 7-day range still draws no spread band, so its picture is unchanged. Refs #1026