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 2022/09/16 09:47:45 UTC

[GitHub] [echarts] plainheart commented on issue #17662: [Bug] datazoom 设置了自定义 icon 之后不能缩放

plainheart commented on issue #17662:
URL: https://github.com/apache/echarts/issues/17662#issuecomment-1249161617

   似乎 icon 用法不正确,[文档](https://echarts.apache.org/option.html#toolbox.feature.dataZoom.icon)中说明 icon 是一个对象,而非数组。应该如下设置,
   ```js
   icon: {
       zoom: 'path://....',
       back: 'path://...'
   }
   ```


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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