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 2022/03/12 16:10:00 UTC
[GitHub] [echarts] fuchunhui edited a comment on issue #16169: [Feature] tree series nodeClick support clicking
fuchunhui edited a comment on issue #16169:
URL: https://github.com/apache/echarts/issues/16169#issuecomment-1065909532
I thought about it carefully, but I still have a little doubt.
`expandAndCollapse ` is not only initialization, but also interactive behavior. It supports collapses and expands interaction of nodes. What I'm confused about now is how to ensure the coexistence of the two and who has the higher priority.
Case one:
```javascript
{
expandAndCollapse: true,
nodeClick: false
}
```
Click the node, what will happen.
Case two:
```javascript
{
expandAndCollapse: false,
nodeClick: true
}
```
What 's the result?
and Case three:
```javascript
{
expandAndCollapse: true,
nodeClick: 'link'
}
```
link to target or expand node, even both.
Or other solutions, remove the interaction of `expandAndCollapse `, it only controls nodes on init.
--
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