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

2022-09-16 Thread GitBox
plainheart commented on issue #17662: URL: https://github.com/apache/echarts/issues/17662#issuecomment-1249174786 `datazoom` 也是单个对象,并未说明支持数组。 -- 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

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

2022-09-16 Thread GitBox
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: