jonalxh commented on issue #6202: Problems when updating chart through 
echartsInstance.setOption()
URL: 
https://github.com/apache/incubator-echarts/issues/6202#issuecomment-460322781
 
 
   I've solved it just clearing the chart variable before passing the options:
   ```
   var myChart = echarts.init(document.getElementById("bar-chart"));
   myChart.clear();
   myChart.setOption(option, true), $(function () { ... }
   ```
   
   It works nice.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to