We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 41cde79 + 6a75aae commit 9d45b70Copy full SHA for 9d45b70
src/ReactChart.tsx
@@ -38,8 +38,8 @@ export const ReactChart = ({
38
const CHART_ID = useMemo(() => generateID('Chart'), []);
39
40
useEffect(() => {
41
- chartInstance.current.options = options;
42
chartInstance.current.data = data;
+ chartInstance.current.options = options;
43
44
chartInstance.current.update(updateMode);
45
}, [data, options]);
0 commit comments