You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "echarts-bot[bot] (via GitHub)" <gi...@apache.org> on 2023/08/04 07:34:20 UTC
[GitHub] [echarts] echarts-bot[bot] commented on issue #18961: [Feature] treemap矩形树图点击时如何不进行放大
echarts-bot[bot] commented on issue #18961:
URL: https://github.com/apache/echarts/issues/18961#issuecomment-1665144678
@xibaoning It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
<details><summary><b>TRANSLATED</b></summary><br>
**TITLE**
[Feature] How not to zoom in when the treemap rectangular treemap is clicked
**BODY**
### What problem does this feature solve?
Suppose a custom action is performed when the rectangular tree is clicked, and you want not to expand it anymore
```js
chart.chart.on('click','series.treemap', function (params) {
if(params.data.iscustom){
params.event.event.stopPropagation()
params.event.cancelBubble=true
Here is the custom operation, but the above code does not work, still enters the node
}
});
```
### What does the proposed API look like?
treemap
</details>
--
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-unsubscribe@echarts.apache.org
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