echarts动态刷新数据不能清空之前数据的问题

在myChart.setOption(option);之前使用myChart.clear();这个方法可以解决问题

原文地址:https://www.cnblogs.com/Jessie-candy/p/14484897.html