tmtron opened a new issue #15775:
URL: https://github.com/apache/echarts/issues/15775


   ### Version
   5.2.1
   
   ### Reproduction link
   
[https://jsfiddle.net/tmtron/9y0xtqs7/11/](https://jsfiddle.net/tmtron/9y0xtqs7/11/)
   
   ### Steps to reproduce
   click on the dataZoom
   
   ### What is expected?
   click event should be invoked
   
   ### What is actually happening?
   click event is not invoked
   
   ---
   The example from the [documentation: echartsInstance. 
on](https://echarts.apache.org/en/api.html#echartsInstance.on) is also not 
working:
   ```javascript
   chart.on('click', 'dataZoom', function () {...});
   ```
   
   * Other click events work: e.g. on the series, axis-labels (when 
`triggerEvent` is set to `true`)
   * but for [dataZoom](https://echarts.apache.org/en/option.html#dataZoom), 
`triggerEvent` does not exist
   * Maybe someone knows a temporary workaround?
     * I thought about using 
[echartsInstance.containPixel](https://echarts.apache.org/en/api.html#echartsInstance.containPixel),
 but it seems, that this does also not support `dataZoom`
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


-- 
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-unsubscr...@echarts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to