add pause functionality and updating favicon

This commit is contained in:
Henry Dollman
2024-07-12 22:24:28 -04:00
parent aacaf2f04f
commit 05f5c94764
8 changed files with 133 additions and 121 deletions

View File

@@ -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}