antvis/G2

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

atdow posted onGitHub

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

Edit on CodeSandbox

Steps to reproduce

如下图所示: image

Environment Info
g2 4.1.16
System win10
Browser choreme

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


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

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

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

posted by hustcc almost 4 years ago

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

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

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

posted by atdow almost 4 years ago

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

posted by jefferyssy almost 3 years ago

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

posted by jefferyssy almost 3 years ago

Fund this Issue

$0.00
Funded

Pull requests