echarts icon indicating copy to clipboard operation
echarts copied to clipboard

Treemap: Labels displayed in treemap not visible because of colour of blocks.

Open Monali-ITT opened this issue 5 years ago • 5 comments

Version

4.2.1

Steps to reproduce

  1. Execute treemap.
  2. 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?

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

Monali-ITT avatar Feb 16 '21 07:02 Monali-ITT

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

echarts-bot[bot] avatar Feb 16 '21 07:02 echarts-bot[bot]

please find the attachemnt..where I used white color for label text..the text is not visible in while color box. ac95d5d9-cd0a-4d64-ad47-9c62a2a6113a

Monali-ITT avatar Feb 16 '21 07:02 Monali-ITT

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

echarts-bot[bot] avatar Feb 22 '21 03:02 echarts-bot[bot]

Is there a solution to this problem of not displaying the label?

chenxueling avatar May 13 '22 11:05 chenxueling

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.

github-actions[bot] avatar May 12 '24 21:05 github-actions[bot]

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!

github-actions[bot] avatar May 19 '24 21:05 github-actions[bot]