mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
fix: missing stroke color
This commit is contained in:
parent
11b248c414
commit
50e0f500cf
@ -54,7 +54,7 @@ export function NetworkChartClient({ server_id }: { server_id: number }) {
|
||||
...config,
|
||||
[key]: {
|
||||
label: key,
|
||||
color: `hsl(var(--chart-${index + 1}))`,
|
||||
color: `hsl(var(--chart-${(index % 5) + 1}))`,
|
||||
},
|
||||
};
|
||||
}, {} as ChartConfig);
|
||||
|
Loading…
Reference in New Issue
Block a user