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 animate? start poisiton is not from zero. #3885

Closed
1 task done
naruhito-ozawa-adglobe-co-jp opened this issue Mar 6, 2019 · 1 comment
Closed
1 task done

Comments

@naruhito-ozawa-adglobe-co-jp

Hello, I'm working on a payment graph using the Bar Chart.

What did you do?

Could you tell me how to animate the following?

We had customer request.
Customer say,
Graph animation does not start from zero and
we want to start at the start position of the displayed graph

[Example]
Barchart presented after animation
then updatting barchart data.
after updating
we want to show animate diff position

Charts Environment

Charts version: 3.2.3
**Xcode version:10.1 **
**Swift version: 4.2 **
Platform(s) running Charts: iOS12,iOS11
macOS version running Xcode: 10.14.3

@liuxuan30
Copy link
Member

liuxuan30 commented Mar 21, 2019

ask on stack overflow or play with ChartsDemo - options to test the animation and check out the code.

FYI: This is a free software, and we cannot satisfy everything. It's YOUR duty to make it work if it's required by your customers. The code is already there.

The animation code should be able to support your case, but I don't know how to. You should look into it and see if it's possible. If not, maybe time to subclass or change the code to make it work. You are welcome to provide a pull request if it's a nice feature.

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