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

Interpolate paths for line animations #89

Closed
3 tasks done
emmacunningham opened this issue Mar 1, 2019 · 1 comment · Fixed by #164
Closed
3 tasks done

Interpolate paths for line animations #89

emmacunningham opened this issue Mar 1, 2019 · 1 comment · Fixed by #164
Labels
:chart Chart element related issue enhancement New feature or request released Issue released publicly

Comments

@emmacunningham
Copy link
Contributor

emmacunningham commented Mar 1, 2019

Is your feature request related to a problem? Please describe.
The current implementation of the line chart (see line_geometries.tsx) does not interpolate the paths for the animation. Curved paths are not animated and also this causes an error when showing/hiding a line associated with a series (see #51 (comment))

See pmndrs/react-spring#77

Describe the solution you'd like
Custom interpolation function to handle line animations

Describe alternatives you've considered
It's possible that we don't want to animate the line paths and choose to animate a different property of the line chart.

Additional context

Kibana Cross Issues
n/a

Checklist

  • this request is checked against already exist requests
  • every related Kibana issue is listed under Kibana Cross Issues list
  • kibana cross issue tag is associated to the issue if any kibana cross issue is present
@emmacunningham emmacunningham added the enhancement New feature or request label Mar 1, 2019
@emmacunningham emmacunningham added the :chart Chart element related issue label Mar 1, 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)
@markov00
Copy link
Member

🎉 This issue has been resolved in version 3.10.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@markov00 markov00 added the released Issue released publicly label Apr 11, 2019
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:chart Chart element related issue enhancement New feature or request released Issue released publicly
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants