Skip to content

NVR with realtime local object detection for IP cameras

Force X axis labels to be rotated correctly (#11148)

Sean Kelly90468c8bf535
diff --git a/web/src/components/graph/SystemGraph.tsx b/web/src/components/graph/SystemGraph.tsx
index fe1204b29a..81db46e7bc 100644
--- a/web/src/components/graph/SystemGraph.tsx
+++ b/web/src/components/graph/SystemGraph.tsx
@@ -110,6 +110,7 @@ export function ThresholdBarGraph({
tickAmount: isMobileOnly ? 3 : 4,
tickPlacement: "on",
labels: {
+ rotate: 0,
offsetX: -18,
formatter: formatTime,
},
@@ -352,6 +353,7 @@ export function CameraLineGraph({
tickAmount: isMobileOnly ? 3 : 4,
tickPlacement: "on",
labels: {
+ rotate: 0,
offsetX: isMobileOnly ? -18 : 0,
formatter: formatTime,
},