Fixed wrong chart color.

This commit is contained in:
Mike Cao committed 2024-03-28 16:26:27 -07:00
1 parent 6ea48d5c2c
commit e1ad3b99cd
1 file changed
+1 -1
+1 -1
View File
@@ -99,7 +99,7 @@ export function Chart({
updateChart(data);
}
}
}, [data]);
}, [data, options]);
const handleLegendClick = (item: LegendItem) => {
if (type === 'bar') {