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

请问该如何实现多图联动呢 #143

Open
sanjicc opened this issue Jul 21, 2022 · 0 comments
Open

请问该如何实现多图联动呢 #143

sanjicc opened this issue Jul 21, 2022 · 0 comments

Comments

@sanjicc
Copy link

sanjicc commented Jul 21, 2022

效果如下图,来自HighCharts官方示例:https://www.highcharts.com.cn/demo/highcharts/synchronized-charts
image

我尝试在两个AAChartView的setOnTouchListener中通过onTouchEvent互相传入touch事件,这种实现方式目前有些问题,比如当手势从图A滑动到图B时,图B无法继续响应滑动事件;还有在AAChartView范围内上下滑动时事件被拦截,无法滚动整个页面;

是否可以从AAChartCore库的层面去做呢,比如AAChartView开放API外部直接调用,通过JS事件传递实现?
但不懂怎么实施,还望大佬提供些思路。

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

1 participant