antvis / G2

📊 The concise and progressive visualization grammar.
https://g2.antv.antgroup.com
MIT License
12.11k stars 1.59k forks source link

treemap drilldown not working #6414

Open BeanWei opened 1 month ago

BeanWei commented 1 month ago

问题描述

version: 5.2.3

重现链接

https://codesandbox.io/p/sandbox/strange-mclaren-5swrxl

重现步骤

No response

预期行为

No response

平台

屏幕截图或视频(可选)

image

补充说明(可选)

No response

hustcc commented 1 month ago
chart.interaction({
  treemapDrillDown: {
    breadCrumbY: 12,
    activeFill: "#873bf4",
  },
});

交互放到 chart 层就是 ok 的。

ai-qing-hai commented 1 month ago

https://codesandbox.io/p/sandbox/young-darkness-vhpqd9?file=%2Findex.ts%3A12%2C6 使用 spec 也是可以的

BeanWei commented 1 month ago

没懂,这玩意没上测试吗?