antvis/G2

TreeMap 显示parent title #3925

meyergin posted onGitHub

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

如果是Nested Treemap,建议增加能显示父类目的title polygon,类似finviz的效果(https://finviz.com/map.ashx) image

What does the proposed API look like?

现在的api 好像没有办法支持多级level的逻辑,position和color

<!-- generated by antv-issue-helper. DO NOT REMOVE -->


image

是指这个吗? @meyergin

posted by hustcc almost 3 years ago

image

是指这个吗? @meyergin 是的,这个是二级类目,上面的Technology是一级类目,见下图,我框出来了 image

posted by meyergin almost 3 years ago

这个多 label 情况,当前 4.x 不是特别好做,但是在新版本 5.0 中比较容易实现

posted by hustcc over 2 years ago

@meyergin finviz是不是直接用d3实现的?

posted by dannishushu about 1 year ago

@meyergin finviz是不是直接用d3实现的?

看了下页面js,应该是基于d3修改了很多逻辑 d3的默认treemap很简单

posted by meyergin about 1 year ago

@meyergin finviz是不是直接用d3实现的?

看了下页面js,应该是基于d3修改了很多逻辑 d3的默认treemap很简单

finviz是基于d3的,d3就是极度灵活可操控的,更接近底层

posted by dannishushu about 1 year ago

Fund this Issue

$0.00
Funded

Pull requests