mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-01 19:30:33 +03:00
The CPU and Frames / Detections graphs on the system metrics page both rendered through CameraLineGraph with a single shared palette, making the two graphs hard to tell apart at a glance. Add an optional `colors` prop to CameraLineGraph (defaulting to the existing palette so CPU graphs are unchanged) and give the Frames / Detections graphs their own green/orange/cyan palette. The colors are routed through both the chart lines and the legend dots so they stay in sync. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>