You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when clicking on the bar chart, the click handler cannot get the event
What is expected?
The click handler for large bar chart can get event
What is actually happening?
The click handler cannot get click event when clicking on the large bar chart. When zooming in to certain level, then click event works.
I debug the source code, and find the problem is caused by the code in echarts.js line: 1402. Since clicking on large bar chart cannot get dataIndex, so the params is undefined which causes the event will not be triggered. Our requirement is to get the event no matter the params contains dataIndex or not. We also tried to bind the native event to chart container. But somehow, it sometimes has conflict with some chart events, ex: brush, drag, etc. Could you help to solve this problem? Thank you!
The text was updated successfully, but these errors were encountered:
Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.
In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.
Version
4.2.1
Steps to reproduce
What is expected?
The click handler for large bar chart can get event
What is actually happening?
The click handler cannot get click event when clicking on the large bar chart. When zooming in to certain level, then click event works.
I debug the source code, and find the problem is caused by the code in echarts.js line: 1402. Since clicking on large bar chart cannot get dataIndex, so the params is undefined which causes the event will not be triggered. Our requirement is to get the event no matter the params contains dataIndex or not. We also tried to bind the native event to chart container. But somehow, it sometimes has conflict with some chart events, ex: brush, drag, etc. Could you help to solve this problem? Thank you!
The text was updated successfully, but these errors were encountered: