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

How to make the highlight line work with UIPanGestureRecognizer #2019

Closed
haneen91 opened this issue Dec 29, 2016 · 3 comments
Closed

How to make the highlight line work with UIPanGestureRecognizer #2019

haneen91 opened this issue Dec 29, 2016 · 3 comments

Comments

@haneen91
Copy link

I used the UIPanGestureRecognizer with chart , I acctivate it only when click on button to display entry information so in this case i stop the chart from drag ,then the highlight line disble .. how can i make the highlight line work with pangesture

@liuxuan30
Copy link
Member

liuxuan30 commented Dec 29, 2016

I don't understand. The pan gesture already works with highlight. When you scroll, the highlight moves as well.
If you are talking about zooming in and scroll disables highlight, that's on purpose. You can override the handler panGestureRecognized to get what you want.

@dangell7
Copy link

Hey liuxuan30, can you tell me how to remove the highlight when the "dragging" stops?

@liuxuan30
Copy link
Member

remove highlight? Just disable highlight. I don't see it will highlight when you pan gesture stops in chart demo line chart

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