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