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 2021/01/26 17:29:22 UTC
[GitHub] [echarts] jimivdw opened a new issue #14128: Treemap rich label alignment issue in echarts 5
jimivdw opened a new issue #14128:
URL: https://github.com/apache/echarts/issues/14128
### Version
5.0.1
### Steps to reproduce
1. Open Treemap example (https://echarts.apache.org/examples/en/editor.html?c=treemap-disk)
2. Add the following label configuration:
```js
// option.series ...
label: {
show: true,
formatter: (x) => `{blue|${x.name}}`,
rich: {
blue: {
color: "blue"
}
}
}
// ...
```
3. Notice labels are aligned in top right corner while they should be centered
### What is expected?
Labels are centered (except when configured otherwise)
### What is actually happening?
Labels are in top right corner

---
Running the exact same code in the treemap demo of echarts 4 (https://echarts.apache.org/v4/examples/en/editor.html?c=treemap-disk) does not have this issue.

Also, explicitly setting `align: "center", verticalAlign: "middle"` does not help; the label will get centered horizontally, but _not_ vertically.
<!-- 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
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] 89466598946659 commented on issue #14128: Treemap rich label alignment issue in echarts 5
Posted by GitBox <gi...@apache.org>.
89466598946659 commented on issue #14128:
URL: https://github.com/apache/echarts/issues/14128#issuecomment-801906962
Did you resolved the question? please...
----------------------------------------------------------------
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
[GitHub] [echarts] MilosPopovic11 commented on issue #14128: Treemap rich label alignment issue in echarts 5
Posted by GitBox <gi...@apache.org>.
MilosPopovic11 commented on issue #14128:
URL: https://github.com/apache/echarts/issues/14128#issuecomment-790663289
Hi, this doesn't have nothing with this subject, but I need to ask something that I try to find solution on DOCS, on Stack, in PRs, and in Issues, and can not find, and I am not sure if that is for new feature or bug.
Is there a way for treemap that have multilevels, to have SUM of all values for that level?
ex. If I am on first leaf level, I need TOTAL SUM of all values from that level to show to user, when click on some child leaf, need to get TOTAL SUM of all values from that level etc... Thanks and sorry for interrupt.
----------------------------------------------------------------
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
[GitHub] [echarts] echarts-bot[bot] commented on issue #14128: Treemap rich label alignment issue in echarts 5
Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #14128:
URL: https://github.com/apache/echarts/issues/14128#issuecomment-767701819
Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.
In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical question.
If you are interested in the project, you may also subscribe our [mailing list](https://echarts.apache.org/en/maillist.html).
Have a nice day! 🍵
----------------------------------------------------------------
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