stevelacerda7 opened a new issue #8157: how do I clear a chart? Basically I 
need to re-initialize it.
URL: https://github.com/apache/incubator-echarts/issues/8157
 
 
   I have several charts on a single page, and each chart changes based on what 
the user selects. I have an ajax call that retrieves the data, so the data 
varies and is dynamic based on users selection. I'm having a problem clearing 
out old data. Basically, I just want after each selection to re-initialize the 
chart and start from scratch. How can I do that?
   
   It seems that now, when the user deselects a metric, the chart retains that 
old information. I've tried setting data to null, or empty array, but nothing 
seems to work. 

----------------------------------------------------------------
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