mirror of
https://github.com/fankes/beszel.git
synced 2025-10-20 10:19:27 +08:00
add pause functionality and updating favicon
This commit is contained in:
@@ -31,16 +31,13 @@ export default function ({ chartData }: { chartData: { time: string; cpu: number
|
||||
<YAxis
|
||||
domain={[0, (max: number) => Math.ceil(max)]}
|
||||
width={47}
|
||||
// tickCount={5}
|
||||
tickLine={false}
|
||||
axisLine={false}
|
||||
unit={'%'}
|
||||
// tickFormatter={(v) => `${v}%`}
|
||||
/>
|
||||
{/* todo: short time if first date is same day, otherwise short date */}
|
||||
<XAxis
|
||||
dataKey="time"
|
||||
tickLine={true}
|
||||
axisLine={false}
|
||||
tickMargin={8}
|
||||
minTickGap={30}
|
||||
|
Reference in New Issue
Block a user