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

Make scroll to graph without pinch #164

Closed
ali-pl opened this issue Jun 19, 2015 · 2 comments
Closed

Make scroll to graph without pinch #164

ali-pl opened this issue Jun 19, 2015 · 2 comments

Comments

@ali-pl
Copy link

ali-pl commented Jun 19, 2015

Hi there

Is it possible to make scroll the graph with out pinching the view and it will make scroll automatically;

@AlBirdie
Copy link
Contributor

Absolutely, take a look at the pinchGesture and implement the refreshMatrix method yourself, i.e. in a loop or timed method that constantly adjusts the CGAffineTransform matrix and sets it accordingly.

@ali-pl
Copy link
Author

ali-pl commented Jun 19, 2015

Sorry I typed automatically , Actually I am in need of scrolling the view and it will work like if you see paging in scrollview.like I am scrolling through different pages and can see different data on view as view getting scrolled.

@ali-pl ali-pl closed this as completed Jun 22, 2015
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

2 participants