akrajan23 opened a new issue #12760:
URL: https://github.com/apache/incubator-echarts/issues/12760


   ### Version
   4.8.0
   
   ### Steps to reproduce
   Paste below sample to 
   
http://echarts.apache.org/examples/en/editor.html?c=doc-example/tutorial-dynamic-data
   
   you will be able to see the line flicker/refresh. We want it to be seamless. 
anything we can do to fix is appreciated
   
   var base =  new Date(2014, 9, 3);
   var oneDay = 24 * 3600 * 1000;
   var date = [];
   var startpoint = 80
   var data = [];
   var now = new Date(base);
   
   function addData(shift) {
       
       
       data.push([23,startpoint] );
       startpoint =startpoint   1
   
       
   }
   
   for (var i = 1; i < 2990; i  ) {
       addData();
   }
   
   option = {
       xAxis: {
           type: 'value',
           boundaryGap: false,
           data: date
       },
       yAxis: {
           boundaryGap: [0, '90%'],
           inverse: true,
           type: 'value'
       },
       series: [
           {
               name:'成交',
               type:'scatter',
               symbolSize:1,
              
               stack: 'a',
               areaStyle: {
                   normal: {}
               },
               data: data
           }
       ]
   };
   
   setInterval(function () {
       addData(true);
       myChart.setOption({
           
           series: [{
               name:'成交',
               data: data
           }]
       });
   }, 500);
   
   ### What is expected?
   no flickering/refreshing of line
   
   ### What is actually happening?
   you will be able to see the line flicker/refresh
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


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



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

Reply via email to