Skip to content

Commit

Permalink
Decrease number of X ticks on system and camera graphs (#13891)
Browse files Browse the repository at this point in the history
  • Loading branch information
xconverge authored Sep 22, 2024
1 parent 6bafb68 commit 12e2c04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/src/components/graph/CameraGraph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export function CameraLineGraph({
size: 0,
},
xaxis: {
tickAmount: isMobileOnly ? 3 : 4,
tickAmount: isMobileOnly ? 2 : 3,
tickPlacement: "on",
labels: {
rotate: 0,
Expand Down
2 changes: 1 addition & 1 deletion web/src/components/graph/SystemGraph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export function ThresholdBarGraph({
size: 0,
},
xaxis: {
tickAmount: isMobileOnly ? 3 : 4,
tickAmount: isMobileOnly ? 2 : 3,
tickPlacement: "on",
labels: {
rotate: 0,
Expand Down

0 comments on commit 12e2c04

Please sign in to comment.