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

100行数据,能否显示20个,往X轴左右滑再显示其他的 #188

Open
af199901 opened this issue Mar 7, 2018 · 3 comments
Open
Labels

Comments

@af199901
Copy link

af199901 commented Mar 7, 2018

No description provided.

@AAChartModel
Copy link
Owner

你可以设置 AAChartView的 contentWidth 值为 Width 的两倍(也就是内容宽度为 frame 宽度的两倍),这样图表可以使用手指进行滑动查看

@flyOfYW
Copy link

flyOfYW commented May 17, 2018

这个contentWidth是怎么确定的呢,我的数据数组是不确定的,我能否通过80+20 * 个数 + 10这样计算获得contentWidth

@AAChartModel
Copy link
Owner

AAChartModel commented May 17, 2018

@flyOfYW 这样应该是可行的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants