eapatel opened a new issue #16095:
URL: https://github.com/apache/echarts/issues/16095


   ### Version
   4.0.2
   
   ### Steps to reproduce
   I am using appendData to load real time data in 3d globe. It works fine for 
2 or 3 minutes and then the page starts to freeze. Also if I went to another 
tab and stay for some time and then came back, that tab crashes.
   
   Please suggest any way to solve this problem or it would be great if any 
removeData method will be available so that I can delete some old records from 
the graph and it'll solved browser crashed issue as well.
   ```
   this.echartsInstance.appendData({
         seriesIndex: '0',      
         data:[ 
             [SRCLATLON, DSTLATLON]   
          ]
       });
   ```
   ```
   this.echartsInstance.appendData({           
         seriesIndex: '1',
         data: [
           {
             value: [SRCLATLON],
           }, {          
             value: DSTLATLON],
           }
         ]
       });
   ```
   ```
       this.option = {
         legend: this.getLegend(),
         tooltip: {
           show: true,
           trigger: 'item',
           ....
         },
         globe: {
           globeRadius: 80,
            ....
         }      
         series: [ LinesSeries(), PointsSeries() ],
       };
   ```
   ```
    getLinesSeries() {
       return {
         type: 'lines3D',
         name: 'data',     
         data: [],
          ...
       };
     }
   ```
   ```
     PointsSeries() {
       return {
         type: 'scatter3D',
         name: 'data',
         coordinateSystem: 'globe',          
         data: []
          ...
       };
     }
   ```
   
   ### What is expected?
   3d Globe should keep loading real time data without browser freezing and 
crashing of the tab.
   
   ### What is actually happening?
   The browser gets freeze after some times and/or crash the tab
   
   <!-- 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.

To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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

Reply via email to