Rodja Trappe před 2 roky
rodič
revize
0252b04a83
1 změnil soubory, kde provedl 1 přidání a 2 odebrání
  1. 1 2
      nicegui/elements/chart.js

+ 1 - 2
nicegui/elements/chart.js

@@ -10,8 +10,7 @@ export default {
     update_chart() {
       while (this.chart.series.length > this.options.series.length) this.chart.series[0].remove();
       while (this.chart.series.length < this.options.series.length) this.chart.addSeries({}, false);
-      this.chart.update(this.options, false);
-      this.chart.redraw();
+      this.chart.update(this.options);
     },
   },
   props: {