You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2018/04/11 06:50:59 UTC

[GitHub] stdrickforce opened a new issue #8132: [旭日图] 下钻后更新数据,返回上一层的圈不会被重置

stdrickforce opened a new issue #8132: [旭日图] 下钻后更新数据,返回上一层的圈不会被重置
URL: https://github.com/apache/incubator-echarts/issues/8132
 
 
   <!--
   为了方便我们能够复现和修复 bug,请遵从下面的规范描述您的问题。
   -->
   
   
   ### One-line summary [问题简述]
   
   为简化问题描述,我们假设**下钻后返回上一层的圈为X**
   
   问题有两个,都在同一个 demo 里面可以复现
   1. 下钻到比较低的层级时(显示X后),更新数据,X不会被重置(效果见下图)。
   2. 设置了 tooltip 后,鼠标移到X上面时,控制台会疯狂报错。
   
   ![image](https://user-images.githubusercontent.com/4176855/38600681-94abb140-3d97-11e8-9105-f264ec966280.png)
   
   ### Version & Environment [版本及环境]
   + ECharts version [ECharts 版本]: **4.0.4**
   + Browser version [浏览器类型和版本]: **Chrome** Version 62.0.3202.89 (Official Build) (64-bit)
   + OS Version [操作系统类型和版本]: **maxOS High Sierra** Version 10.13.3
   
   ### Expected behaviour [期望结果]
   1. 下钻后更新数据,X会被正常的移除。
   2. 下钻后鼠标移到X上面时,控制台不再报错。
   
   ### ECharts option [ECharts配置项]
   ```javascript
   option = {
       series: {
           highlightPolicy: 'ancestor',
           type: 'sunburst',
           radius: [0, '90%'],
           label: {
               rotate: 'radial'
           },
           levels: [
               {},
               {
                   downplay: {
                       itemStyle: {
                           opacity: 0.6,
                       }
                   }
               },
               {
                   downplay: {
                       itemStyle: {
                           opacity: 0.6,
                       }
                   }
               },
               {
                   downplay: {
                       itemStyle: {
                           opacity: 0.6,
                       }
                   }
               },
           ]
       },
       tooltip: {
           trigger: 'item',
           formatter: function() {
               return "tooltip";
           }
       }
   };
   ```
   
   ### Other comments [其他信息]
   [在线demo](http://stdrickforce.github.io/Demo/index.html)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services

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