q1017269237 opened a new issue #9218: 
Echarts地图,visualMap颜色渐变IE兼容性问题,chrome浏览器没问题
URL: https://github.com/apache/incubator-echarts/issues/9218
 
 
   
   ### One-line summary [问题简述]
   我在Echarts的visualMap里,颜色填充为白色到藏青色,在IE浏览器里显示从中间向两端渐变,
   chrome浏览器里正常从一端向另一端渐变
   
   ### Version & Environment [版本及环境]
   + ECharts version [ECharts 版本]:4.0.5
   + Browser version [浏览器类型和版本]:IE:11.0.9600.18738IS   Chrome:68.0.3440.106
   + OS Version [操作系统类型和版本]:Win7 旗舰版
   
   
   
   
   
   ### Expected behaviour [期望结果]
   IE浏览器下,Echarts的visualMap组件,颜色渐变正常从一端向另一端渐变
   
   
   
   
   ### ECharts option [ECharts配置项]
   <!-- Copy and paste your 'echarts option' here. -->
   <!-- [下方贴你的option,注意不要删掉下方 ```javascript 和 尾部的 ``` 字样。最好是我们能够直接运行的 
option。如何得到能运行的 option 参见上方的 guidelines for contributing] -->
   ```javascript
   option = {
          visualMap: {                  
                        min: 0,                 
                        max: 30,                   
                        left: 'left',                   
                        top: 'bottom',                  
                        text: ['高','低'],           // 文本,默认为数值文本
                        calculable: true,
                        type: 'continuous',
                        inRange: {
                              color: ['#FFFFFF', '#4472C5']
                        }
                }
   }
   
   ```
   
   
   
   
   ### Other comments [其他信息]
   <!-- For example: Screenshot or Online demo -->
   <!-- [例如,截图或线上实例 (JSFiddle/JSBin/Codepen)] -->
   
![image](https://user-images.githubusercontent.com/44088032/46865267-7ece7d00-ce4f-11e8-88b7-a0979164968d.png)
   
![image](https://user-images.githubusercontent.com/44088032/46865342-ca812680-ce4f-11e8-92f9-e224051102ad.png)
   
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to