From 404f9f9a33f0b6534565ec253dee2a345cc54ccd Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Fri, 5 Apr 2024 14:01:34 -0600 Subject: [PATCH] Add y axis to camera stats graphs --- web/src/components/graph/SystemGraph.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/src/components/graph/SystemGraph.tsx b/web/src/components/graph/SystemGraph.tsx index d66fb5f7c..07d3aa651 100644 --- a/web/src/components/graph/SystemGraph.tsx +++ b/web/src/components/graph/SystemGraph.tsx @@ -340,7 +340,10 @@ export function CameraLineGraph({ }, }, yaxis: { - show: false, + show: true, + labels: { + formatter: (val: number) => Math.ceil(val).toString(), + }, min: 0, }, } as ApexCharts.ApexOptions;