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/09/17 03:04:59 UTC

[GitHub] terrilltang opened a new issue #9088: 饼图鼠标经过高亮颜色变淡问题

terrilltang opened a new issue #9088: 饼图鼠标经过高亮颜色变淡问题
URL: https://github.com/apache/incubator-echarts/issues/9088
 
 
   
   在使用饼图时,整体背景颜色为白色 #FFFFFF,有一个扇区的颜色值是 #F1F1F1 的色值,在鼠标经过高亮时,会变成跟背景色一样的颜色(白色)。
   
   series 下有一个 hoverOffset 来设置偏移量,请问是否有一个属性值来设置 hover 高亮时的颜色变化,或者禁止颜色变化。
   
   Echarts Version:4.x
   Browser Version: chrome/69
   
   ```javascript
   option = {
       series : [
           {
               backgroundColor:'#FFFFFF',
               name: '访问来源',
               type: 'pie',
               radius: '55%',
               color:['#F1F1F1','#F00'],
               data:[
                   {value:235, name:'视频广告'},
                   {value:274, name:'联盟广告'},
               ]
           }
       ]
   };
   ```

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