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

动态设置f2高度,在android手机上不显示图表 #320

Open
licandroid opened this issue Sep 2, 2020 · 3 comments
Open

动态设置f2高度,在android手机上不显示图表 #320

licandroid opened this issue Sep 2, 2020 · 3 comments

Comments

@licandroid
Copy link

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

在小程序中动态设置定高度


page里面设定初始值为200

height:200

获取到数据之后根据数据内容重新设置高度 ,并刷新当前数据 ,但是在android手机上图表不会显示 。在开发工具 和 IOS手机上显示正常

@licandroid licandroid changed the title 动态社会f2高度,在android手机上不显示图表 动态设置f2高度,在android手机上不显示图表 Sep 2, 2020
@zengyue
Copy link
Member

zengyue commented Sep 2, 2020

调用chart.changeSize(width, height) 重新设置下试试

@licandroid
Copy link
Author

这个问题不同android手机上会有一个默认最大高度,超过这个高度就不会显示了 . 并且在华为手机上刷新数据图表不显示了

@zengyue
Copy link
Member

zengyue commented Sep 24, 2020

这个问题不同android手机上会有一个默认最大高度,超过这个高度就不会显示了 . 并且在华为手机上刷新数据图表不显示了

没看懂

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