antvis/G2

[bug] 自定图形的container获取不到canvas对象 #3303

alphabetabc posted onGitHub

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

https://antv-g2.gitee.io/zh/examples/point/bubble#bubble-image image

Steps to reproduce

  • 打开上面个的链接,一看就知道 ( ╯□╰ )
Environment Info
g2 4.1.12
System win
Browser chrome
// 用到的一段代码
console.log('log----',container.getCanvas());

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


问题描述:自定义 shape 的时候,如果出发重新渲染,有 shape 没有清除。

posted by hustcc over 3 years ago

4.0 的这个 Bug 不会修复了,5.0 直接提供了 Image Mark 绘制图形,可以参考这个例子 Logo

posted by pearmini over 1 year ago

Fund this Issue

$0.00
Funded

Pull requests