Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v5] 雷达图 resize 面积区域错位 #4837

Closed
fanioc opened this issue Mar 27, 2023 · 5 comments
Closed

[v5] 雷达图 resize 面积区域错位 #4837

fanioc opened this issue Mar 27, 2023 · 5 comments
Assignees
Labels
Milestone

Comments

@fanioc
Copy link

fanioc commented Mar 27, 2023

image

g2 5.0 官网现有示例可复现

https://g2.antv.antgroup.com/zh/examples/general/radar#radar

@fanioc fanioc changed the title [v5] tooltip超出边缘,导致雷达图面积区域错位 [v5] 雷达图 resize 面积区域错位 Mar 27, 2023
@fanioc
Copy link
Author

fanioc commented Mar 27, 2023

resize 就会错位,不一定是 tooltip 超出边缘

@pearmini pearmini added this to the 5.0.2 milestone Mar 29, 2023
@pearmini
Copy link
Member

这个问题是动画带来的,暂时的解决办法是把动画关掉:

chart.area().animate(false);
chart.line().animate(false);

@fanioc
Copy link
Author

fanioc commented Mar 29, 2023

好的,可以临时解决下,resize后还有坐标轴也点错位,也可以看下
image

@pearmini
Copy link
Member

pearmini commented Mar 29, 2023

好的,可以临时解决下,resize后还有坐标轴也点错位,也可以看下

嗯嗯,这个应该是当高度比宽度大的时候有问题,我处理一下。

@pearmini
Copy link
Member

两个问题都已经修复了哈,会在下周二发布的 5.0.2 上线。

@pearmini pearmini self-assigned this Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

No branches or pull requests

2 participants