From 941e29675043d271d4b40278354c22556483484e Mon Sep 17 00:00:00 2001 From: Sean Kelly Date: Sun, 28 Apr 2024 21:09:35 -0700 Subject: [PATCH] Adjust number of ticks to have consistent X axes --- web/src/components/graph/SystemGraph.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/components/graph/SystemGraph.tsx b/web/src/components/graph/SystemGraph.tsx index e96ce8235..7514a1217 100644 --- a/web/src/components/graph/SystemGraph.tsx +++ b/web/src/components/graph/SystemGraph.tsx @@ -107,7 +107,7 @@ export function ThresholdBarGraph({ size: 0, }, xaxis: { - tickAmount: isMobileOnly ? 3 : 4, + tickAmount: 3, tickPlacement: "on", labels: { offsetX: -18, @@ -349,7 +349,7 @@ export function CameraLineGraph({ size: 0, }, xaxis: { - tickAmount: isMobileOnly ? 3 : 4, + tickAmount: 3, tickPlacement: "on", labels: { offsetX: isMobileOnly ? -18 : 0,