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 2019/10/10 02:29:49 UTC

[GitHub] [incubator-echarts] songyu8285 opened a new issue #11377: treemap chart: click event get wrong dataIndex for treemap?

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:
users@infra.apache.org


With regards,
Apache Git Services

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