Decrease number of X ticks on system and camera graphs (#13891)

This commit is contained in:
Sean Kelly 2024-09-22 14:57:19 -07:00 committed by GitHub
parent 6bafb68d77
commit 12e2c04486
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ export function CameraLineGraph({
size: 0, size: 0,
}, },
xaxis: { xaxis: {
tickAmount: isMobileOnly ? 3 : 4, tickAmount: isMobileOnly ? 2 : 3,
tickPlacement: "on", tickPlacement: "on",
labels: { labels: {
rotate: 0, rotate: 0,

View File

@ -121,7 +121,7 @@ export function ThresholdBarGraph({
size: 0, size: 0,
}, },
xaxis: { xaxis: {
tickAmount: isMobileOnly ? 3 : 4, tickAmount: isMobileOnly ? 2 : 3,
tickPlacement: "on", tickPlacement: "on",
labels: { labels: {
rotate: 0, rotate: 0,