Serious-ChrisLopez commented on issue #12167: How to avoid wiggling animation 
for real-time time series charts?
URL: 
https://github.com/apache/incubator-echarts/issues/12167#issuecomment-587814579
 
 
   For me to fix that issue I had to make sure that the data I pushed had an 
object with { name: curTime, value: [someValue] }. 
   
   For example:
   ` let dataTimestamp = 1582058229; // unix/epoch time
     let dataValue = Math.random() * 1000; // number between 0 and 1000
     chartData.push({
       name: new Date().toString(),
       value: [dataTimestamp, dataValue]
     });
     Chart.setOption({
       series: chartData
     });`
   
   However, I am not sure why it works this way. Hopefully, someone can answer 
that for me.

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