-
Notifications
You must be signed in to change notification settings - Fork 122
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(axis): limit chart dimensions to avoid axis labels overflow #314
Conversation
Codecov Report
@@ Coverage Diff @@
## master #314 +/- ##
==========================================
+ Coverage 98.04% 98.04% +<.01%
==========================================
Files 37 37
Lines 2714 2715 +1
Branches 642 620 -22
==========================================
+ Hits 2661 2662 +1
Misses 48 48
Partials 5 5
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.
Tested locally, LGTM! 🚢
## [9.1.1](v9.1.0...v9.1.1) (2019-08-16) ### Bug Fixes * **axis:** limit chart dimensions to avoid axis labels overflow ([#314](#314)) ([5751ce0](5751ce0))
🎉 This PR is included in version 9.1.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
## [9.1.1](elastic/elastic-charts@v9.1.0...v9.1.1) (2019-08-16) ### Bug Fixes * **axis:** limit chart dimensions to avoid axis labels overflow ([opensearch-project#314](elastic/elastic-charts#314)) ([010634d](elastic/elastic-charts@010634d))
Summary
This PR limit the chart dimensions to include any overflowing axis label. It consider label padding, font size, text etc.
from:
to:
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.src/index.ts
(and stories only import from../src
except for test data & storybook)