fix: missing stroke color

This commit is contained in:
hamster1963 2024-10-09 15:53:49 +08:00
parent 11b248c414
commit 50e0f500cf

View File

@ -54,7 +54,7 @@ export function NetworkChartClient({ server_id }: { server_id: number }) {
...config, ...config,
[key]: { [key]: {
label: key, label: key,
color: `hsl(var(--chart-${index + 1}))`, color: `hsl(var(--chart-${(index % 5) + 1}))`,
}, },
}; };
}, {} as ChartConfig); }, {} as ChartConfig);