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 2022/05/14 02:41:33 UTC

[GitHub] [echarts] lch596566 opened a new issue, #17030: [Bug] 当开启 large:true 时, appendData动态数据更新时, tooltip框会消失;When 【large: true 】 is enabled, the tooltip box will disappear when appenddata is updated dynamically

lch596566 opened a new issue, #17030:
URL: https://github.com/apache/echarts/issues/17030

   ### Version
   
   5.3.2
   
   ### Link to Minimal Reproduction
   
   https://cdn.jsdelivr.net/npm/echarts@5.3.2/dist/echarts.min.js
   
   ### Steps to Reproduce
   
   `
      var dom = document.getElementById('container');
   
       var myChart = echarts.init(dom, null, {
           renderer: 'canvas',
           useDirtyRect: false
       });
   
       var option;
       function getData() {
           let temp = [];
           for (let i = 0; i < 100000; i++) {
               temp.push([
                   Math.random()*12.2,Math.random()*12.4
               ]);
           }
           return temp;
       }
   
       option = {
           animation:false,
           xAxis: {},
           yAxis: {},
           dataZoom:[
               {
                   type: 'inside',
                   xAxisIndex: 0,
               }
           ],
           tooltip:{
               annotation:false,
               trigger: 'item'
           },
           series: [
               {
                   type: 'scatter',
                   animation:false,
                   large:true,
                   largeThreshold:200,
                   progressive:1000000,
                   data: getData()
               }
           ]
       };
   
       if (option && typeof option === 'object') {
           myChart.setOption(option);
           setInterval(()=>{
               //appendData 时, toolTip框会消失
               //When appendData, the toolTip box will disappear
               myChart.appendData({
                       seriesIndex: 0,
                       data:[[Math.random()*12.2,Math.random()*12.4]]
                   }
               );
               myChart.resize();
           },500)
   
           myChart.on('mousemove', function(params) {
               // 当appendData 时, 事件会停止一瞬间
               // When appendData, the event stops for a moment
               console.log("mousemove");
           });
       }
       window.addEventListener('resize', myChart.resize);
   `
   
   ### Current Behavior
   
   **更新数据时 tootip 框会消失, 会有显得很卡顿**
   `  myChart.appendData({
                       seriesIndex: 0,
                       data:[[Math.random()*12.2,Math.random()*12.4]]
                   }
               );`
   
   ![chrome-capture-2022-4-14](https://user-images.githubusercontent.com/49528104/168407683-551494ef-51b1-44e9-890a-b1428eb751b1.gif)
   
   
   ### Expected Behavior
   
   appendData  时, tooltip 不消失, 事件不暂停
   
   ![chrome-capture-2022-4-14 (1)](https://user-images.githubusercontent.com/49528104/168407746-75755c38-80c8-42cd-9fd9-b3d0f565c440.gif)
   
   
   ### Environment
   
   ```markdown
   - OS: win11 
   - Browser:  Chrome 98.0.4758.102
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_


-- 
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-unsubscribe@echarts.apache.org.apache.org

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


Re: [I] [Bug] 当开启 large:true 时, appendData动态数据更新时, tooltip框会消失;When 【large: true 】 is enabled, the tooltip box will disappear when appenddata is updated dynamically [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #17030:
URL: https://github.com/apache/echarts/issues/17030#issuecomment-2123440311

   This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!


-- 
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-unsubscribe@echarts.apache.org

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


Re: [I] [Bug] 当开启 large:true 时, appendData动态数据更新时, tooltip框会消失;When 【large: true 】 is enabled, the tooltip box will disappear when appenddata is updated dynamically [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #17030: [Bug]  当开启 large:true 时, appendData动态数据更新时, tooltip框会消失;When 【large: true 】 is enabled, the tooltip box will disappear when appenddata is updated dynamically
URL: https://github.com/apache/echarts/issues/17030


-- 
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-unsubscribe@echarts.apache.org

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


Re: [I] [Bug] 当开启 large:true 时, appendData动态数据更新时, tooltip框会消失;When 【large: true 】 is enabled, the tooltip box will disappear when appenddata is updated dynamically [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #17030:
URL: https://github.com/apache/echarts/issues/17030#issuecomment-2108797680

   This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.


-- 
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-unsubscribe@echarts.apache.org

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] [echarts] echarts-bot[bot] commented on issue #17030: [Bug] 当开启 large:true 时, appendData动态数据更新时, tooltip框会消失;When 【large: true 】 is enabled, the tooltip box will disappear when appenddata is updated dynamically

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

   @lch596566 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   [Bug] When large:true is enabled, the tooltip box will disappear when appendData is updated dynamically; When 【large: true 】 is enabled, the tooltip box will disappear when appenddata is updated dynamically
   </details>


-- 
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-unsubscribe@echarts.apache.org

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