-
Notifications
You must be signed in to change notification settings - Fork 121
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: apply transform.x to area & line geometries #172
Conversation
Codecov Report
@@ Coverage Diff @@
## master #172 +/- ##
=======================================
Coverage 96.62% 96.62%
=======================================
Files 36 36
Lines 1867 1867
Branches 251 251
=======================================
Hits 1804 1804
Misses 54 54
Partials 9 9
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
## [3.11.1](v3.11.0...v3.11.1) (2019-04-16) ### Bug Fixes * apply transform.x to area & line geometries ([#172](#172)) ([da4f07f](da4f07f))
🎉 This PR is included in version 3.11.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
## [3.11.1](elastic/elastic-charts@v3.11.0...v3.11.1) (2019-04-16) ### Bug Fixes * apply transform.x to area & line geometries ([opensearch-project#172](elastic/elastic-charts#172)) ([55b920f](elastic/elastic-charts@55b920f))
Summary
There were discrepancies between the props applied to animated elements and non-animated elements. When we disabled animation across the board, this discrepancy surface issues with the non-animated elements not having the correct transform.x applied, leading to misaligned lines & points in area and line series:
This PR applies the transform to the non-animated elements as well, resolving the alignment issues:
We also move this transform into the build props functions to require consistency in handling these values regardless of animation.
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.