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

   > Type 'scatter' works as expected though
   
   Nice catch!!  I even hadn't thought myself about comparing performance to 
the scatter chart. 
   
   Could you then please add the label "_bug_" to this issue then, so hopefully 
somebody ever finds some time to have a look a it?  It would be a really nice 
improvement for our (open-source Node-RED) dashboard, because this is a typical 
use case for our users.  Thanks!!
   
   > See also my Demo in related https://github.com/apache/echarts/issues/18742,
   
   Yes you correct, that looks very smooth.  And you even use `setOption` 
instead of `appendData`, which kind of surprises me that this works so well: 
because in my tests the `setOption` was horrible slow compared to `appendData`. 
 I thought it was because Echarts then need to calculate the delta itself, so 
it has to compare all the datapoints to figure out at the end that only a 
single datapoint has been appended.  But perhaps I am completely 
misunderstanding the entire concept then...
   
   > You may consider collecting new data and appending it only once within 
your preferred interval.  Just like this demo.
   
   @Justin-ZS 
   Thanks for joining here!
   Aah, why didn't think about that myself...  
   Yes your demo contains a decent workaround.  That way our application is in 
control of when the re-rendering needs to happen.
   Nice one!  I am certainly going to use this as a workaround.
   Although it would be still nice if some day somebody could fix the original 
refresh issue...


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