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

雷达图为0的数据有些有tooltip虚线,有些没有 #3425

Closed
1 task
atdow opened this issue May 18, 2021 · 4 comments
Closed
1 task

雷达图为0的数据有些有tooltip虚线,有些没有 #3425

atdow opened this issue May 18, 2021 · 4 comments
Assignees

Comments

@atdow
Copy link

atdow commented May 18, 2021

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

Reproduction link

Edit on CodeSandbox

Steps to reproduce

如下图所示:
image

Environment Info
g2 4.1.16
System win10
Browser choreme
@hustcc
Copy link
Member

hustcc commented May 19, 2021

确实是有问题的,目测应该是因为数据点为 0,所以直接识别成 tooltip 的线防线为向右的。临时解决:

chart.scale("score", {
  min: -0.01,
  max: 5
});

我明天来看看具体的原因。

@atdow
Copy link
Author

atdow commented May 21, 2021

确实是有问题的,目测应该是因为数据点为 0,所以直接识别成 tooltip 的线防线为向右的。临时解决:

chart.scale("score", {
  min: -0.01,
  max: 5
});

我明天来看看具体的原因。
好的,非常感谢

@jefferyssy
Copy link

请问下 这个问题后来有没有解决。我看了下最新的G2版本还有这个问题

@jefferyssy
Copy link

@hustcc 麻烦问下,这个问题有解决吗?我看了下最新的G2还是这样。如果设置了min=-0.01 展示效果又不对,中间有个圈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants