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/06/25 09:34:12 UTC

[GitHub] xueguozhongli opened a new issue #8579: IE11中不能正常显示

xueguozhongli opened a new issue #8579: IE11中不能正常显示
URL: https://github.com/apache/incubator-echarts/issues/8579
 
 
   [问题简述]
   
   你好,正在做的项目中,在地图上渲染echarts,Chrome和IE10均正常显示。**IE11中显示为白板**,控制台无报错。
   
   ### Version & Environment [版本及环境]
   + ECharts version [ECharts 版本]:  4.1.0
   + Browser version [浏览器类型和版本]:  IE11
   + OS Version [操作系统类型和版本]:  WIN7
   
   ### Expected behaviour [期望结果]
   IE11中可以正常显示pie
   
   ### ECharts option [ECharts配置项]
   <!-- Copy and paste your 'echarts option' here. -->
   <!-- [下方贴你的option,注意不要删掉下方 ```javascript 和 尾部的 ``` 字样。最好是我们能够直接运行的 option。如何得到能运行的 option 参见上方的 guidelines for contributing] -->
   ```javascript
   option = {
   series: [
           {
               name:'外圈',
               type:'pie',
               silent:true,
               radius: ['15%', '35%'],
               hoverAnimation:false,
               avoidLabelOverlap:true,
               label: {
                   normal: {
                       show: false,
                   },
                   emphasis: {
                       show: false
                   }
               },
               labelLine: {
                   normal: {
                       show: false
                   }
               },
               data:[{name:'暂无数据',value:0}],
               color:[VendorColor['color_0'].full],
           }, {
               name:'内圈',
               type:'pie',
               silent:true,
               radius: [0, '15%'],
               hoverAnimation:false,
               label: {
                   normal: {
                       show: true,
                       position: 'center',
                       textStyle:{
                           fontSize:12,
                           color:'#fff'
                       }
                   }
               },
               labelLine: {
                   normal: {
                       show: false
                   }
               },
               data:[
                   {value:0, name:'暂无数据'}
               ],
               color:['#2E7AC8']
           },
       ]
   }
   
   ```
   
   
   
   
   ### Other comments [其他信息]
   <!-- For example: Screenshot or Online demo -->
   <!-- [例如,截图或线上实例 (JSFiddle/JSBin/Codepen)] -->
   正常应显示:
   https://user-images.githubusercontent.com/22338719/41770178-15944274-7644-11e8-9fee-319789210373.png
   在IE11中显示:
   https://user-images.githubusercontent.com/22338719/41770128-f41a52c8-7643-11e8-9200-c9892d804181.png
   
   经过对比,在Chrome和IE11下,DOM结构不太一样:
   
   Chrome下的结构:
   https://user-images.githubusercontent.com/22338719/41773576-13148968-764f-11e8-9e9d-e8ef9b0bc8c8.png
   
   IE11下的结构:
   https://user-images.githubusercontent.com/22338719/41774166-261e9812-7651-11e8-8bfe-328361b97132.png
   
   amap-layers的div下,amap-markers中是多个饼图,**amap-layer在Chrome中是canvas,在IE11中为div**,未渲染成功。这个可能是什么原因导致的?
   

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