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

在安卓手机上使用dataZoom滑动时很难拖动 #221

Open
wanglianqing123 opened this issue Dec 25, 2024 · 2 comments
Open

在安卓手机上使用dataZoom滑动时很难拖动 #221

wanglianqing123 opened this issue Dec 25, 2024 · 2 comments

Comments

@wanglianqing123
Copy link

做柱状图表左右滑动效果,图表很难拖动。
我使用的版本:
"@wuba/react-native-echarts": "^2.0.2",
"echarts": "^5.5.1",
"react-native-gesture-handler": "^2.21.2",
dataZoom设置如下:
dataZoom: [
{
type: 'inside',
xAxisIndex: 0,
start: 0,
end: 30,
zoomLock: true, // 锁定缩放
throttle: 100,
minSpan: 0,
maxSpan: 100,
zoomOnMouseWheel: false,
moveOnMouseMove: true,
moveOnMouseWheel: true,
},
],
我不确定是什么原因。

@zhuzhuxingtianxia
Copy link

我也遇到了相同问题。dataZoom滑动不平滑,如何滑动加载更多数据?有遇到数据量大,分页加载的情况吗?

@youxinm24
Copy link

确实很难用,可以考虑用其他滑动组件代替原生的拖动,虽然仍然有闪烁,但是滑动的效果好一点
动画

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