mirror of
https://github.com/alexhopeoconnor/frigate.git
synced 2026-10-14 23:41:30 +10:00
Force X axis labels to be rotated correctly (#11148)
* Adjust number of ticks to have consistent X axes * Revert "Adjust number of ticks to have consistent X axes" This reverts commit 941e29675043d271d4b40278354c22556483484e. * set rotate instead
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user