echarts icon indicating copy to clipboard operation
echarts copied to clipboard

Can treemap display as it's already drilled to a level rather than root when set option?

Open codTango opened this issue 9 years ago • 5 comments

One-line summary [问题简述]

I would want to set option, then treemap will display as it's already been drilled into certain level and at a specific location/cell, also same for breadcrumb will display it's at certain level.

Version & Environment [版本及环境]

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

Expected behaviour [期望结果]

This is all come from the requirement that I need lazy load data for treemap. Thinking about this scenario, I have a treemap which would have 30 levels deep, but I cannot/shouldn't load all data upfront. I can load 3 levels data to display the treemap, when user drills into the 3rd, I can send request to get 4th, 5th and 6th level data. In this case, I need setOption again after I got response, but I also need preserve the current cell location, drill level, and breadcrumb.

codTango avatar Apr 25 '17 20:04 codTango

@100pah any progress on this one? if we will implement it, or there's an existing work around?

codTango avatar May 18 '17 19:05 codTango

We have planned to implement dynamic data loading support for treemap in next version.

100pah avatar May 23 '17 07:05 100pah

@100pah Could you help me clear it, as next version, you mean 3.5.5? or like ecahrts 4.0?

codTango avatar May 23 '17 13:05 codTango

4.0.4的treemap还是会在setoption更新后跳回根节点

walexz avatar Apr 03 '18 13:04 walexz

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 02 '20 14:04 stale[bot]