bartbutenaers opened a new issue, #20739:
URL: https://github.com/apache/echarts/issues/20739

   ### What problem does this feature solve?
   
   Dear,
   It seems weird to me if this feature wouldn't exist already, but cannot find 
anything unfortunately.  Perhaps I am just searching for the wrong keywords.  
Apologies in that case already... 
   
   I am continiously appending new datapoints to my chart using 
`chart.appendData`.  However calling each time the `chart.resize()` (to show 
the new appended datapoint) is too resource extensive.  So I tried a simple 
workaround to refresh the chart only every 500 msecs, however the updating 
looks very ugly, as you can see in 
[this](https://codepen.io/bartbutenaers/pen/NPKQEOx) codepen.  I have no idea 
what I am doing wrong...  When you set the `refreshInterval` to value `0` in 
this codepen, then the chart is refreshed for every datapoint and then it looks 
better.
   
   ### What does the proposed API look like?
   
   Perhaps add a parameter like ´refreshInterval´ (in msecs) or `refreshCount` 
(as a counter of new datapoints added) could be provided.  


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to