mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-26 02:40:44 -06: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 941e296750
.
* set rotate instead
This commit is contained in:
parent
1c90f62ea5
commit
90468c8bf5
@ -110,6 +110,7 @@ export function ThresholdBarGraph({
|
|||||||
tickAmount: isMobileOnly ? 3 : 4,
|
tickAmount: isMobileOnly ? 3 : 4,
|
||||||
tickPlacement: "on",
|
tickPlacement: "on",
|
||||||
labels: {
|
labels: {
|
||||||
|
rotate: 0,
|
||||||
offsetX: -18,
|
offsetX: -18,
|
||||||
formatter: formatTime,
|
formatter: formatTime,
|
||||||
},
|
},
|
||||||
@ -352,6 +353,7 @@ export function CameraLineGraph({
|
|||||||
tickAmount: isMobileOnly ? 3 : 4,
|
tickAmount: isMobileOnly ? 3 : 4,
|
||||||
tickPlacement: "on",
|
tickPlacement: "on",
|
||||||
labels: {
|
labels: {
|
||||||
|
rotate: 0,
|
||||||
offsetX: isMobileOnly ? -18 : 0,
|
offsetX: isMobileOnly ? -18 : 0,
|
||||||
formatter: formatTime,
|
formatter: formatTime,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user