echarts icon indicating copy to clipboard operation
echarts copied to clipboard

Need API to expose the click action for Treemap

Open codTango opened this issue 9 years ago • 2 comments

One-line summary [问题简述]

I got a requirement for this use case: user click on tree map, it will display a context menu which would display some metaData, links. Then user can click on one of the links to zoom into next level on Treemap. I think I would need an action API that I can send a zoomIng action.

Version & Environment [版本及环境]

  • ECharts version [ECharts 版本]: 3.5.3
  • Browser version [浏览器类型和版本]: latest Firefox and Chrome
  • OS Version [操作系统类型和版本]: Mac OS & Windows

Expected behaviour [期望结果]

API can expose the zoom action for treemap, so the click action on treemap could be interrupted and then zoom as need.

Copied the requirement here: At any level of the treemap, clicking on a cell must provide a context menu with two options:

  1. Zoom (if there is another level below the cell)
  2. Link out to XYZ

codTango avatar Apr 25 '17 14: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

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 03 '20 03:04 stale[bot]