New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Labels for treemap on parent levels. #5579

jonavila opened this Issue Apr 24, 2017 · 1 comment


None yet
1 participant

jonavila commented Apr 24, 2017

This a question/enhancement request

One-line summary [问题简述]

How can I add parent labels in a Treemap?

Version & Environment [版本及环境]

  • ECharts version [ECharts 版本]: 3.5.3
  • Browser version [浏览器类型和版本]:
  • OS Version [操作系统类型和版本]:

Expected behaviour [期望结果]

On a multi-level treemap, I would like to display a descriptive label/name of the parent levels. For example, in a two level treemap, if Level 1 = Country and Level 2 = Cities, I would like to display the Country label at the top of the block with all cities directly below it. Please see linked example

ECharts option [ECharts配置项]

option = {


Other comments [其他信息]

Notice how level of the treemap contains labels


This comment has been minimized.

Show comment
Hide comment

jonavila May 4, 2017


Thoughts on this?


jonavila commented May 4, 2017

Thoughts on this?

@100pah 100pah closed this in b6563c7 Jun 11, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment