mirror of
https://github.com/fankes/beszel.git
synced 2025-10-20 10:19:27 +08:00
updates
This commit is contained in:
@@ -12,7 +12,7 @@ import Spinner from '../spinner'
|
||||
const chartConfig = {
|
||||
read: {
|
||||
label: 'Read',
|
||||
color: 'hsl(var(--chart-5))',
|
||||
color: 'hsl(var(--chart-1))',
|
||||
},
|
||||
write: {
|
||||
label: 'Write',
|
||||
@@ -78,13 +78,6 @@ export default function DiskIoChart({
|
||||
/>
|
||||
}
|
||||
/>
|
||||
<Area
|
||||
dataKey="read"
|
||||
type="monotoneX"
|
||||
fill="var(--color-read)"
|
||||
fillOpacity={0.4}
|
||||
stroke="var(--color-read)"
|
||||
/>
|
||||
<Area
|
||||
dataKey="write"
|
||||
type="monotoneX"
|
||||
@@ -92,6 +85,13 @@ export default function DiskIoChart({
|
||||
fillOpacity={0.4}
|
||||
stroke="var(--color-write)"
|
||||
/>
|
||||
<Area
|
||||
dataKey="read"
|
||||
type="monotoneX"
|
||||
fill="var(--color-read)"
|
||||
fillOpacity={0.4}
|
||||
stroke="var(--color-read)"
|
||||
/>
|
||||
</AreaChart>
|
||||
</ChartContainer>
|
||||
)
|
||||
|
Reference in New Issue
Block a user