diff --git a/src/vaadin-chart.html b/src/vaadin-chart.html index b9dd876f..ae0dfeb7 100644 --- a/src/vaadin-chart.html +++ b/src/vaadin-chart.html @@ -1016,11 +1016,13 @@ this.__setYAxisProps(yAxes, unit, {max: valueMax}); } - const seriesConfiguration = this.__updateOrAddSeriesInstance(seriesElement.options, idxOnChildList); + const seriesConfiguration = this.__updateOrAddSeriesInstance(seriesElement.options, idxOnChildList, false); seriesElement.setSeries(seriesConfiguration); } this.__removeAxisIfEmpty(); + + this.configuration.redraw(); } __removeSeries(seriesNodes) { diff --git a/test/performance.html b/test/performance.html index 2c49223a..b2285b0f 100644 --- a/test/performance.html +++ b/test/performance.html @@ -10,20 +10,32 @@
-