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

X轴滑动 #153

Open
baiRookie opened this issue Jul 4, 2019 · 8 comments
Open

X轴滑动 #153

baiRookie opened this issue Jul 4, 2019 · 8 comments

Comments

@baiRookie
Copy link

No description provided.

@baiRookie baiRookie reopened this Jul 4, 2019
@baiRookie
Copy link
Author

X轴的0坐标点能滑动吗,如何才能做到

@baiRookie baiRookie reopened this Jul 4, 2019
@baiRookie
Copy link
Author

现在的效果是整个缩放,有办法在不缩放的情况下,让坐标系沿X轴移动吗

@baiRookie
Copy link
Author

很多情况下 我需要实时添加数据去显示,但同时,我又不希望当前显示的图形状态发生改变,即不去缩放当前的图表.另一方面你应该考虑数据量比较大的情况下,缩放好像并不太合适

@AAChartModel
Copy link
Owner

你的这个需求使用AAChartKit不太合适,我测试过highCharts在手机端的滚动效果,体验只能说是很差,连快速滚动的惯性效果都没有.

@baiRookie
Copy link
Author

好吧 还是得说封装的很方便,在固定数据情况,比charts好用

@AAChartModel
Copy link
Owner

AAChartModel commented Jul 4, 2019

X轴滑动的这个特性,highCharts不太在行的主要原因,我猜应该是因为highCharts一开始是主要服务于web的大屏网页端的,后来才顺带兼容适配移动端的,所以在移动端缩放滑动方面有所欠缺.

@AAChartModel
Copy link
Owner

我这个周末后面有时间把这个滑动效果加上,你可以再自行斟酌一下是否有必要再继续使用AAChartKit或者是AAInfographics.

@CrazyZY
Copy link

CrazyZY commented Jan 4, 2022

把图标放到一个scrollview上就可以实现左右滚动了,不过柱状图的宽度需要自己手动调整

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

3 participants