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.
This commit is contained in:
Marc-André Bombeck committed 2026-05-16 17:12:17 +02:00
1 parent f9b8f3bde2
commit 02410b2394
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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}
+1 -1
View File
@@ -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}
/>