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

wx-charts适配问题 #3

Closed
sider666 opened this issue Dec 12, 2016 · 5 comments
Closed

wx-charts适配问题 #3

sider666 opened this issue Dec 12, 2016 · 5 comments

Comments

@sider666
Copy link

我做出pie图后 我在iphone6 和iphone5的尺寸下 位置显示不统一 不能居中 wx-charts在适配上要怎么处理

@xiaolin3303
Copy link
Owner

@sider666 可以使用微信提供的API wx.getSystemInfo 获取屏幕的宽度然后做动态的调整

@sider666
Copy link
Author

在pie图中dataLabel属性没有作用 如果想对图表下方的标识做隐藏 wx-charts是否有参数可以直接设置

@xiaolin3303
Copy link
Owner

@sider666 你说的是legend吧,opts里面加上legend: false即可,这个参数文档里面漏了

@sider666
Copy link
Author

pie图的dataLabel属性貌似不起作用

@xiaolin3303
Copy link
Owner

pie图的dataLabel还在开发中,这个涉及到文案的检测碰撞问题,稍微有点复杂

xiaolin3303 added a commit that referenced this issue Dec 19, 2016
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