songyu8285 opened a new issue #11377: treemap chart: click event get wrong dataIndex for treemap? URL: https://github.com/apache/incubator-echarts/issues/11377 ### Version 4.4.0-rc.1 ### Reproduction link [https://codepen.io/songyu8285/pen/xxxGjNr](https://codepen.io/songyu8285/pen/xxxGjNr) ### Steps to reproduce open the codepen link and click treemap item which will alert the dataIndex returned by click event, you will find the dataIndex alerted is always larger than the index of the clicking item ### What is expected? dataIndex should be equal to the index of item ### What is actually happening? dataIndex is always one more than index of item <!-- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
