diff --git a/src/components/charts/Chart.tsx b/src/components/charts/Chart.tsx index ba49796e..a01192e4 100644 --- a/src/components/charts/Chart.tsx +++ b/src/components/charts/Chart.tsx @@ -99,7 +99,7 @@ export function Chart({ updateChart(data); } } - }, [data]); + }, [data, options]); const handleLegendClick = (item: LegendItem) => { if (type === 'bar') {