Skip to content

Commit

Permalink
fix: set updatingOption on echarts init
Browse files Browse the repository at this point in the history
  • Loading branch information
lideming committed Nov 27, 2023
1 parent 066d7c7 commit 6389ede
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions neetbox/frontend/src/components/echarts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const ECharts = (props: EChartsProps) => {
);

chart.setOption(props.initialOption());
chart.setOption(props.updatingOption);
chartRef.current = chart;

const handleResize = () => {
Expand Down

0 comments on commit 6389ede

Please sign in to comment.