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 2020/09/23 03:54:46 UTC

[GitHub] [incubator-echarts] rokon0614 commented on issue #9815: echart tree label support click event

rokon0614 commented on issue #9815:
URL: https://github.com/apache/incubator-echarts/issues/9815#issuecomment-697118763


   我这边是这么解决的,在外层套一个div,然后加上点击时间,然后根据echart里面有一个this.chart._chartsViews[0]._data._itemLayouts属性有每一个图标(就是展开收缩的那个图标)的位置,然后根据偏移量计算一下是在哪个图标的范围内即可。
   希望能帮到大家,也希望官方尽快出lable的点击事件。


----------------------------------------------------------------
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



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