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

weird behavior resizing the pie. #1286

Closed
chuynadamas opened this issue Aug 3, 2016 · 7 comments
Closed

weird behavior resizing the pie. #1286

chuynadamas opened this issue Aug 3, 2016 · 7 comments
Labels

Comments

@chuynadamas
Copy link
Contributor

Hi @PhilJay @danielgindi @liuxuan30 ! -First of all thanks for the amazing work!

Now I have a little issue with the animation at the to resize the pie, please check the gifs below.

2016-08-03

As you can see in the animation, there is a moment when the donut turns into an oval at the moment this is growing or shrinking, It seems that when the pie is changing the size first increase or decrease the value over the x value and then over the y.

I want to show an increased size just as smooth as the other views,

2016-08-03-1

In this case, it seems that the growing is synchronous among x and y and this create a natural animation when the chart is becoming bigger.

  • Do you think that I can get the same behaviour on the Pie ?
  • Could you guys please give me some guidance about when you control the render on the pie just to be able to modify according my necessities?

Thanks in advance.

@liuxuan30
Copy link
Member

hmm.. I am not very familiar with this pie animation.. but looks weird.. is this on android or ios

@liuxuan30 liuxuan30 added the bug label Aug 4, 2016
@ghost
Copy link

ghost commented Aug 4, 2016

it is iOS @liuxuan30

@liuxuan30
Copy link
Member

you guys are same team? From the screenshot it looks like android :)

@ghost
Copy link

ghost commented Aug 4, 2016

yes :) we are on the same iOS team @liuxuan30 and we hope that in our final release it doesn't look too much like Android so we don't get fired haha :P

@liuxuan30
Copy link
Member

liuxuan30 commented Aug 4, 2016

alright :) I guess you have to debug first if possbile we don't have the env to test... you could get started with the animtor job. I wonder if it's a bug or mistake that starts x then y

@danielgindi
Copy link
Collaborator

Cool bouncy effect ;-)

@danielgindi
Copy link
Collaborator

After playing with UIView animations a little - it seems that this is how it animates. It caches the image and stretches it.

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

3 participants