mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 21:10:59 +00:00
Recharts AreaChart over a 21-day window, anchored at now. Wires the W19c-Backend pure PK module: drug id resolved from the medication brand via the catalog, doses derived from non-skipped intake events matched against the dose-change history. Y-axis is unit-less per research §2.3 — no tick labels, the 'Estimated level (relative)' caption sits above the frame. The chart gates on enabled + acknowledgedVersion === currentDisclaimerVersion (defence-in-depth alongside the server 400) and renders distinct placeholders for each failure mode. Mounted on /medications/[id]/history when treatmentClass === GLP1.