mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
The score-ring's RadialBar swept the full circle for any value because the angular domain was only pinned on the PolarRadiusAxis (which governs radius, not sweep). Recharts then auto-scaled the angular domain to the single datum, so every ring read as 100%. Add a PolarAngleAxis with a fixed [0,100] number domain so the bar sweeps value-percent of the track. Affects the overview wellness tiles and the score-anatomy detail view. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
338 KiB
338 KiB