mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Adjust number of ticks to have consistent X axes
This commit is contained in:
parent
8c610bea49
commit
941e296750
@ -107,7 +107,7 @@ export function ThresholdBarGraph({
|
|||||||
size: 0,
|
size: 0,
|
||||||
},
|
},
|
||||||
xaxis: {
|
xaxis: {
|
||||||
tickAmount: isMobileOnly ? 3 : 4,
|
tickAmount: 3,
|
||||||
tickPlacement: "on",
|
tickPlacement: "on",
|
||||||
labels: {
|
labels: {
|
||||||
offsetX: -18,
|
offsetX: -18,
|
||||||
@ -349,7 +349,7 @@ export function CameraLineGraph({
|
|||||||
size: 0,
|
size: 0,
|
||||||
},
|
},
|
||||||
xaxis: {
|
xaxis: {
|
||||||
tickAmount: isMobileOnly ? 3 : 4,
|
tickAmount: 3,
|
||||||
tickPlacement: "on",
|
tickPlacement: "on",
|
||||||
labels: {
|
labels: {
|
||||||
offsetX: isMobileOnly ? -18 : 0,
|
offsetX: isMobileOnly ? -18 : 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user