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-589411316 Here is another example but with deep cloning the data object first: https://gallery.echartsjs.com/editor.html?c=x6WGc3uDy&v=4 I have it so that every other update I push two times rather than just once. When pushing once, the data is drawn correctly, when pushing twice it’s drawn incorrectly. Chris Lopez Serious Integrated [email protected]<mailto:[email protected]> From: Chris Lopez<mailto:[email protected]> Sent: Thursday, February 20, 2020 3:20 PM To: apache/incubator-echarts<mailto:[email protected]>; apache/incubator-echarts<mailto:[email protected]> Cc: Mention<mailto:[email protected]> Subject: RE: [apache/incubator-echarts] How to avoid wiggling animation for real-time time series charts? (#12167) Here’s a video I made with from the following example: Demo - https://gallery.echartsjs.com/editor.html?c=x6WGc3uDy&v=2 Video - https://www.loom.com/share/fa5396c0a2e74c2f99fdcb9160ed27c3 I think its strange that the points are correct but the lines are drawn incorrectly. Scrubbing the timeline which forces a redraw seems to fix the line issue. Is it something I am doing wrong? The more elements I push the more the lines seem to get out of place. Seems like an issue when drawing the chart/frame. I also tried deep cloning but that didn’t work Chris Lopez Serious Integrated [email protected]<mailto:[email protected]> From: Chris Lopez<mailto:[email protected]> Sent: Thursday, February 20, 2020 11:05 AM To: apache/incubator-echarts<mailto:[email protected]>; apache/incubator-echarts<mailto:[email protected]> Cc: Mention<mailto:[email protected]> Subject: RE: [apache/incubator-echarts] How to avoid wiggling animation for real-time time series charts? (#12167) This example I made should show you the issue: https://gallery.echartsjs.com/editor.html?c=x6WGc3uDy&v=2 Chris Lopez Serious Integrated [email protected]<mailto:[email protected]> From: klausb <[email protected]> Sent: Thursday, February 20, 2020 5:10:28 AM To: apache/incubator-echarts <[email protected]> Cc: Chris Lopez <[email protected]>; Mention <[email protected]> Subject: Re: [apache/incubator-echarts] How to avoid wiggling animation for real-time time series charts? (#12167) @Serious-ChrisLopez<https://github.com/Serious-ChrisLopez> can you provide a full example? I tried modifying this https://echarts.apache.org/examples/en/editor.html?c=doc-example/tutorial-dynamic-data, but failed. Even this example shows the wiggling effect — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub<https://github.com/apache/incubator-echarts/issues/12167?email_source=notifications&email_token=AGID4JK5J7KM3DDHVDITBV3RDZXLJA5CNFSM4KXJB522YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMNUJZI#issuecomment-588989669>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AGID4JPT5A3YB342GH4WGMTRDZXLJANCNFSM4KXJB52Q>.
---------------------------------------------------------------- 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]
