-
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 axis labels for time series overlapping into each other on smaller window sizes #42
Comments
emmacunningham
added a commit
to emmacunningham/elastic-charts
that referenced
this issue
Feb 7, 2019
This fixes the overlapping labels issue that was surfacing in time series labels where the first and second labels would overlap even when showOverlappingTicks/Labels was false. The issue is that the previousOccupiedSpace variable which was being used to determine if a tick/label should be included in the set of visible ticks/labels was not being updated correctly for the first tick, causing the next tick to render (even when it should have been hidden). This commit fixes that value update as well as simplifies the initialization of the variable to make the logic flow a bit easier to follow. fixes elastic#42
emmacunningham
added a commit
that referenced
this issue
Feb 7, 2019
* fix(axis labels): offset previous space correctly This fixes the overlapping labels issue that was surfacing in time series labels where the first and second labels would overlap even when showOverlappingTicks/Labels was false. The issue is that the previousOccupiedSpace variable which was being used to determine if a tick/label should be included in the set of visible ticks/labels was not being updated correctly for the first tick, causing the next tick to render (even when it should have been hidden). This commit fixes that value update as well as simplifies the initialization of the variable to make the logic flow a bit easier to follow. fixes #42 * docs(axis/time series): add knobs to time series story * build: move newtype-ts to dependencies (from devDependencies)
🎉 This issue has been resolved in version 1.0.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
AMoo-Miki
pushed a commit
to AMoo-Miki/OpenSearch-Dashboards
that referenced
this issue
Feb 10, 2022
## [1.0.1](elastic/elastic-charts@v1.0.0...v1.0.1) (2019-02-07) ### Bug Fixes * **axis labels:** offset previous space correctly ([opensearch-project#45](elastic/elastic-charts#45)) ([c28e0d7](elastic/elastic-charts@c28e0d7)), closes [opensearch-project#42](elastic/elastic-charts#42)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: