Remove bad part

This commit is contained in:
Sean Kelly 2024-04-28 21:30:54 -07:00
parent 9079224cb3
commit 74ca3f7828

View File

@ -126,7 +126,6 @@ export function ThresholdBarGraph({
formatter: (val: number) => `${Math.ceil(val)}${unit}`, formatter: (val: number) => `${Math.ceil(val)}${unit}`,
}, },
min: 0, min: 0,
stepSize: unit === "%" ? 5 : undefined,
}, },
} as ApexCharts.ApexOptions; } as ApexCharts.ApexOptions;
}, [graphId, threshold, unit, systemTheme, theme, formatTime]); }, [graphId, threshold, unit, systemTheme, theme, formatTime]);
@ -369,7 +368,6 @@ export function CameraLineGraph({
formatter: (val: number) => `${Math.ceil(val)}${unit}`, formatter: (val: number) => `${Math.ceil(val)}${unit}`,
}, },
min: 0, min: 0,
stepSize: unit === "%" ? 5 : undefined,
}, },
} as ApexCharts.ApexOptions; } as ApexCharts.ApexOptions;
}, [graphId, systemTheme, theme, formatTime]); }, [graphId, systemTheme, theme, formatTime]);