helgasoft commented on issue #20739:
URL: https://github.com/apache/echarts/issues/20739#issuecomment-2645922986

   A continuation of your previous question #20734, better to reopen than post 
a new one.
   New code also answers the question what is preferable - _refresh_ or 
_setOption_. Answer is: _refresh_ is faster.
   
   >  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.
   
   It seems _refreshInterval_ is redundant. Code works OK without it - 
[Demo](https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=PYBwLglsB2AEC8sDeBYAULWBDaEC2WkMAXAGZYA2AzgKYA06mAHgIJMRXHKOaxgCeIGlwBEkPDREMMvACaEsXANoBdHgF9pmfmw5cksTT1oAnCDU6wlPTKhm9Y8sIqsqtDvoOGwRFCNEkbQx41NHUAbnR0AGNgAFdoMAQABki0AHp02BYQIWhZWABGZJLHBVgQYH8wKlgAdwgwAAsi5Ng8WmjYapoTADdKdAGTbsTegYoEWFowAEkx_soACiWASgQAPm4ZTOzZAqxp_wBzChoy50rqvibCWFJgCgpgOtrDqn9zuqw-mh5Y6BUJLQF5TAAihBoADoQXU1mlMACgbAAnUIc4pkolLC6LAALKEJpQj7QJaxBJJABU-MJUIACrNYFlisl1tSAKxtADUsE5sBUKgR7X4AGFbiYwFCsLkaPl0VglnYHKZzFR5rIaEwuMl3JgnC5UfKNKs0jw8KLxZKTBYIAAvGjw3i7Y7AYCyHiZc1irAS4k0MAAeXAUFJSBVFmISiQ6hU6hNmF2VCENAKIBMwAARmc8P94okuVyhRBSLAyXmkhtECzWbBomcffMwONlj1FhQTehNK0TUA).
   I don't see a need for a new feature since _setInterval_ does the job 
already.
   📌 please close issue if problem solved. 


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