Skip to content

Commit

Permalink
fix initial echart update
Browse files Browse the repository at this point in the history
  • Loading branch information
falkoschindler committed Nov 22, 2023
1 parent 483d5f2 commit 1f94f24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nicegui/elements/echart.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default {
methods: {
update_chart() {
convertDynamicProperties(this.options, true);
this.chart.setOption(this.options, { notMerge: this.chart.options.series.length != this.options.series.length });
this.chart.setOption(this.options, { notMerge: this.chart.options?.series.length != this.options.series.length });
},
},
props: {
Expand Down

0 comments on commit 1f94f24

Please sign in to comment.