From 3f4ffa6f9d49f66394c887c7c27182a640d25660 Mon Sep 17 00:00:00 2001 From: Sean Kelly Date: Sun, 28 Apr 2024 21:22:54 -0700 Subject: [PATCH] Revert "Adjust number of ticks to have consistent X axes" This reverts commit 941e29675043d271d4b40278354c22556483484e. --- 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 7514a1217..e96ce8235 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: 3, + tickAmount: isMobileOnly ? 3 : 4, tickPlacement: "on", labels: { offsetX: -18, @@ -349,7 +349,7 @@ export function CameraLineGraph({ size: 0, }, xaxis: { - tickAmount: 3, + tickAmount: isMobileOnly ? 3 : 4, tickPlacement: "on", labels: { offsetX: isMobileOnly ? -18 : 0,