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 2020/08/28 10:21:14 UTC

[GitHub] [incubator-echarts] bilibiliou commented on issue #8927: echarts高亮事件能够设置成click事件触发吗?

bilibiliou commented on issue #8927:
URL: https://github.com/apache/incubator-echarts/issues/8927#issuecomment-682448990


   有一个hack 的方法 @zhuxinping @Ovilia  :
   ```js
   itemStyle: {
           normal: {
             color: 'rgba(254,44,85, 0)',
             borderWidth: 1,
             borderColor: 'transparent'
           },
           emphasis: {
             color: 'rgba(254,44,85)',
             borderWidth: 1,
             borderColor: '#fff'
          }
    }
   ```
   
   
   把 normal 态设置为透明状,主样式设置在 emphasis 中
   


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

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