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时, guide将不会显示 #282

Closed
OPY-bbt opened this Issue Aug 27, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@OPY-bbt

OPY-bbt commented Aug 27, 2018

  • F2 Version: 3.1.18
  • Platform: maxOS
  • Mini Showcase(like screenshots):
       chart.guide().text({
          position: [obj.date, obj.value],
          content: obj.value,
          style: {
            textBaseline: 'bottom',
            textAlign: 'center',
          },
        });

如果obj.value的值为0,将不会显示guide

@simaQ simaQ self-assigned this Aug 27, 2018

@simaQ simaQ added the bug label Aug 27, 2018

@simaQ

This comment has been minimized.

Contributor

simaQ commented Aug 27, 2018

你先通过 content: obj.value + '' 解决,这个我会在 3.2.2 版本修复的。

@OPY-bbt

This comment has been minimized.

OPY-bbt commented Aug 27, 2018

嗯嗯 暂时是这么做的。

@simaQ simaQ added this to the 3.2.2 milestone Aug 27, 2018

@simaQ simaQ closed this in b35dedf Aug 27, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment