![image](https://user-images.githubusercontent.com/29659731/45419701-9f71ae80-b6ba-11e8-8a5a-b0a0787040be.png)

![image](https://user-images.githubusercontent.com/29659731/45419877-16a74280-b6bb-11e8-8317-780019a8fa63.png)


feature: {
        myTool1: {
          show: true,
          title: "往上",
          icon: "image://../img/drill_up_h.png",
          onclick: function () {
            alert("myToolHandler1");
            // option.toolbox.feature.myTool1.icon
          }
        },
        myTool2: {
          show: true,
          title: "往下",
          icon: "image://../img/drill_down.png",
          onclick: function () {
            alert("myToolHandler1");
          }
        },
       
      }

怎么实现这个自定义图标动态切换,就是只有一个当前选中,选中颜色为绿色,是一张本地图片,选中一个另一个变灰色,求大神指点,谢谢


[ Full content available at: 
https://github.com/apache/incubator-echarts/issues/9059 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to