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,点显示不全 #336

Closed
crazyliuxp opened this issue Sep 19, 2018 · 3 comments
Closed

折线图支持平移时,如果数据为0,点显示不全 #336

crazyliuxp opened this issue Sep 19, 2018 · 3 comments

Comments

@crazyliuxp
Copy link

  • F2 Version:3.2.2
  • Platform:
  • Mini Showcase(like screenshots):
  • CodePen Link:

折线图支持平移时,添加上 chart.interaction('pan');后,如果数据为0,则画出的点只能显示一半,能完全显示吗?
如果不支持平移则显示的是完整的点。

下面是我修改官方demo的图例

image

@simaQ
Copy link
Contributor

simaQ commented Sep 19, 2018

恩,我们在平移的时候会将图形限制在绘图区域内,所以会造成点部分被遮挡,这个可以优化一下

@crazyliuxp
Copy link
Author

要等后边的版本了吧?

@simaQ
Copy link
Contributor

simaQ commented Sep 19, 2018

@antv/f2@3.2.3-beta.3

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

2 participants