feat: monitor chart

This commit is contained in:
hamster1963
2024-11-28 15:26:03 +08:00
parent 5f2e9fe38a
commit d7f0410dcd
13 changed files with 467 additions and 13 deletions

View File

@@ -67,7 +67,7 @@ ChartContainer.displayName = "Chart";
const ChartStyle = ({ id, config }: { id: string; config: ChartConfig }) => {
const colorConfig = Object.entries(config).filter(
([_, config]) => config.theme || config.color,
([, config]) => config.theme || config.color,
);
if (!colorConfig.length) {