mirror of
https://github.com/henrygd/beszel.git
synced 2025-12-17 18:56:17 +01:00
uniform x axis on charts
This commit is contained in:
@@ -42,7 +42,6 @@ export default function CpuChart({
|
||||
axisLine={false}
|
||||
unit={'%'}
|
||||
/>
|
||||
{/* todo: short time if first date is same day, otherwise short date */}
|
||||
<XAxis
|
||||
dataKey="time"
|
||||
domain={[ticks[0], ticks.at(-1)!]}
|
||||
|
||||
Reference in New Issue
Block a user