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

Animated moveViewToX() #318

Closed
tomastiminskas opened this issue Aug 25, 2015 · 6 comments
Closed

Animated moveViewToX() #318

tomastiminskas opened this issue Aug 25, 2015 · 6 comments
Labels

Comments

@tomastiminskas
Copy link

I think it's not an issue but I couldn't find a solution so maybe you can help me.

I implemented ios-charts on a swift application I am working on and composed a graph to show some information. The graph has set setVisibleXRangeMaximum(9.0) but has more than 30 values, so the user can scroll on the graph.

I could center the selected bar on the screen when the user tap on some of the graph bars, but I can't animate it. I am using moveViewToX() method to move to an specific index. Is there a way to do the same as "moveViewToX()" does but animated?

@danielgindi
Copy link
Collaborator

I thought that this was a duplicate of #189, but it's a different kind of animation. It should actually be pretty easy to implement

@danielgindi danielgindi changed the title Can't animate graph position Animated moveViewToX() Aug 27, 2015
@tomastiminskas
Copy link
Author

Thanks a lot Daniel. Waiting for the implementation of moveViewToX() with animation.

@tomastiminskas
Copy link
Author

Daniel, have you been able to add this feature to the library? Thanks in advance

@kexoth
Copy link

kexoth commented Oct 26, 2015

👍

@idenjoe
Copy link

idenjoe commented Feb 19, 2016

Are you planning to add this feature soon?? Thanks.

@liuxuan30
Copy link
Member

really this is carried out :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants