From 02410b2394241389ce8fc0cebbc460a9df912d74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sat, 16 May 2026 17:12:17 +0200 Subject: [PATCH] fix(insights): BP chart Y-axis unit reads 'mmHg' not 'Hg' The blood-pressure chart cards on /insights/blutdruck and on the mother-page trends row passed `yAxisUnit="Hg"` to the underlying HealthChart, which painted gridline labels as `139 Hg`. mmHg is the canonical clinical unit; "Hg" alone is incomplete (mercury, not millimeters of mercury) and reads as a typo. Tile header on the same page already says mmHg, so the axis was the only surface drifting. Per .planning/round-v1433-audit-runtime.md F6. --- src/app/insights/blutdruck/page.tsx | 2 +- src/components/insights/trends-row.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/insights/blutdruck/page.tsx b/src/app/insights/blutdruck/page.tsx index 7d92204cc..476f26aa4 100644 --- a/src/app/insights/blutdruck/page.tsx +++ b/src/app/insights/blutdruck/page.tsx @@ -105,7 +105,7 @@ export default function InsightsBlutdruckPage() { title={t("charts.bloodPressure")} colors={["#ff79c6", "#8be9fd"]} unit="mmHg" - yAxisUnit="Hg" + yAxisUnit="mmHg" targetZones={bpTargetZones} compareBaseline={compareBaseline} userTimezone={user?.timezone} diff --git a/src/components/insights/trends-row.tsx b/src/components/insights/trends-row.tsx index 53dde40c4..1d746387e 100644 --- a/src/components/insights/trends-row.tsx +++ b/src/components/insights/trends-row.tsx @@ -123,7 +123,7 @@ export function TrendsRow({ annotations, confidence }: TrendsRowProps) { title={t("charts.bloodPressure")} colors={["#ff79c6", "#8be9fd"]} unit="mmHg" - yAxisUnit="Hg" + yAxisUnit="mmHg" mini userTimezone={userTimezone} />