Treemap: Labels displayed in treemap not visible because of colour of blocks.
Version
4.2.1
Steps to reproduce
- Execute treemap.
- Check the labels in treemap block. Labels not visible because of the color of the block.
What is expected?
- Labels text should visible. labels should display in color depends on treemap block color.
What is actually happening?
- Labels not visible because of block color.
-
By default, the color of the label text is white.
-
If treemap block color also white or near to white, label text not visible.
-
For example, if we change text colour to lighter colour it will cause problem when shade is with white base and on contrast it will be a problem if colour is shade is dark and text too..
Please find the attachmen
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 and chart option 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 [email protected]. 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.
Have a nice day! 🍵
please find the attachemnt..where I used white color for label text..the text is not visible in while color box.

@Monali-ITT Please provide a demo for the issue either with https://codepen.io/Ovilia/pen/dyYWXWM , https://www.makeapie.com/editor.html or https://codesandbox.io/s/mystifying-bash-2uthz.
Is there a solution to this problem of not displaying the label?
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!