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

Fix chart rotation animations #41

Closed
emmacunningham opened this issue Feb 5, 2019 · 2 comments
Closed

Fix chart rotation animations #41

emmacunningham opened this issue Feb 5, 2019 · 2 comments
Labels
bug Something isn't working :chart Chart element related issue

Comments

@emmacunningham
Copy link
Contributor

When rotating the chart, the left/right edges of the chart animation are bounded to the dimensions of the chart container, but not for the top/right edges so that the chart will appear to animate from outside of the container.

chart_rotation_animation

@emmacunningham emmacunningham added the bug Something isn't working label Feb 5, 2019
@markov00
Copy link
Member

markov00 commented Feb 6, 2019

I've 3 ideas here:

  • we don't fix it directly: since we have a clipping rectangle, the final user will never see elements outside the clipping rectangle.
  • we can fix the animation
  • we can disable animation on rotation (rotation is a setting and we don't need to animate that change)

@markov00 markov00 added the :chart Chart element related issue label Feb 28, 2019
markov00 added a commit to markov00/elastic-charts that referenced this issue Apr 11, 2019
Disable animations for all charts until we fix elastic#89 and elastic#41 and until we found a right strategy for
animate everything nicely and at 60fps.

fix elastic#161
markov00 added a commit that referenced this issue Apr 11, 2019
Disable animations for all charts until we fix #89 and #41 and until we found a right strategy for
animate everything nicely and at 60fps.

fix #161
markov00 pushed a commit that referenced this issue Apr 11, 2019
## [3.10.1](v3.10.0...v3.10.1) (2019-04-11)

### Bug Fixes

* temporary disable animation ([#164](#164)) ([80b3231](80b3231)), closes [#89](#89) [#41](#41) [#161](#161)
* temporary disable animation ([#164](#164)) ([c53c8a6](c53c8a6)), closes [#89](#89) [#41](#41) [#161](#161)
emmacunningham pushed a commit to emmacunningham/elastic-charts that referenced this issue Apr 11, 2019
Disable animations for all charts until we fix elastic#89 and elastic#41 and until we found a right strategy for
animate everything nicely and at 60fps.

fix elastic#161
@markov00
Copy link
Member

closing for now as animation is not a priority at the moment and the underlying architecture is has changed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working :chart Chart element related issue
Projects
None yet
Development

No branches or pull requests

2 participants