You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/06/05 17:33:21 UTC

[GitHub] [incubator-echarts] akrajan23 opened a new issue #12760: Points refresh while loading dynamic data

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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] plainheart removed a comment on issue #12760: Points refresh while loading dynamic data

Posted by GitBox <gi...@apache.org>.
plainheart removed a comment on issue #12760:
URL: https://github.com/apache/incubator-echarts/issues/12760#issuecomment-640012045


   Seems to be related to animation, you can temporarily disable chart animation with option `animation: false` to avoid the flicker. But the chart looks weird and not smooth if we disable animation.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] Ghostbird commented on issue #12760: Points refresh while loading dynamic data

Posted by GitBox <gi...@apache.org>.
Ghostbird commented on issue #12760:
URL: https://github.com/apache/incubator-echarts/issues/12760#issuecomment-650156508


   I have a similar issue, but only when using `dataset`.
   When using `data` it works when I use the name-value object format:
   This example works: https://gallery.echartsjs.com/editor.html?c=xdU-QdxsSz&v=1


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #12760: Points refresh while loading dynamic data

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12760:
URL: https://github.com/apache/incubator-echarts/issues/12760#issuecomment-639654421


   Hi! We've received your issue and please be patient to get responded. πŸŽ‰
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍡


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] plainheart commented on issue #12760: Points refresh while loading dynamic data

Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #12760:
URL: https://github.com/apache/incubator-echarts/issues/12760#issuecomment-640015141


   Seems to be related to animation, you can temporarily disable chart animation with option `animation: false` to avoid the flicker. But the chart looks weird and not smooth if we disable animation.
   Therefore, I will suggest using [`dataset`](https://echarts.apache.org/en/tutorial.html#Dataset) to manage chart data which has no such flickering issue.
   There is a demo on ECharts gallery https://gallery.echartsjs.com/editor.html?c=xmnJypxSli&v=1


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] plainheart commented on issue #12760: Points refresh while loading dynamic data

Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #12760:
URL: https://github.com/apache/incubator-echarts/issues/12760#issuecomment-640012045


   Seems to be related to animation, you can temporarily disable chart animation with option `animation: false` to avoid the flicker. But the chart looks weird and not smooth if we disable animation.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] plainheart edited a comment on issue #12760: Points refresh while loading dynamic data

Posted by GitBox <gi...@apache.org>.
plainheart edited a comment on issue #12760:
URL: https://github.com/apache/incubator-echarts/issues/12760#issuecomment-640015141


   Seems to be related to animation, you can temporarily disable chart animation with option `animation: false` to avoid the flicker. But the chart looks weird and not smooth if we disable animation.
   Therefore, I will suggest using [`dataset`](https://echarts.apache.org/en/tutorial.html#Dataset) to manage chart data, which has no such flickering issue.
   There is a demo on ECharts gallery https://gallery.echartsjs.com/editor.html?c=xmnJypxSli&v=1


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] Ghostbird edited a comment on issue #12760: Points refresh while loading dynamic data

Posted by GitBox <gi...@apache.org>.
Ghostbird edited a comment on issue #12760:
URL: https://github.com/apache/incubator-echarts/issues/12760#issuecomment-650156508


   I have a similar issue, but only when using `dataset`. When using `data` it works when I use the name-value object format. This example works: https://gallery.echartsjs.com/editor.html?c=xdU-QdxsSz&v=1


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org