Fixed wrong chart color.
This commit is contained in:
@@ -99,7 +99,7 @@ export function Chart({
|
||||
updateChart(data);
|
||||
}
|
||||
}
|
||||
}, [data]);
|
||||
}, [data, options]);
|
||||
|
||||
const handleLegendClick = (item: LegendItem) => {
|
||||
if (type === 'bar') {
|
||||
|
||||
Reference in New Issue
Block a user