-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Chart's PanGesture conflicts with UITableView PanGesture #219
Comments
If you will start dragging again from inside the chart, on a direction
which it does not have any more scrolling, it should begin scrolling the
parent table view.
We cannot seamlessly continue the scroll, as I just haven't yet found a
stable way to do that. But the basic functionality of scroll within scroll
is there...
|
I don't quite understand what you mean by scrolling "on a direction |
Whenever there's no more scrolling on a chart, it will pass control to the On Thu, Jul 16, 2015 at 4:08 PM, Chris Carr notifications@github.com
|
hi, I have similar scenario with you,that,I disable Y axis scale,but I can not scroll vertically tableview in the chart.
in func diff:
|
@inix Then modify it in the way you modified it, but the tableview at the bottom of the vertical slide cannot slide |
I apologize in advance if this issue is more of a Stack Overflow question than a bug/limitation of this framework.
We have a
LineChartView
in a UITableViewCell subclass in a static UITableView.Chart is configured like this:
When the scrolling of tableView finishes decelerating, the PanGesture contained in the LineChart intercepts vertical scrolling and, hence, the containing tableView will not scroll unless you begin a tap/pan outside of the LineChart.
I found
private func panGestureRecognized(recognizer: UIPanGestureRecognizer)
inBarLineChartViewBase.swift
I am not super familiar with Gesture Recognizers but do I need to change the behavior of this function to handle this scenario?
Thanks!
The text was updated successfully, but these errors were encountered: