-
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
Add tick label padding to axis spec #94
Closed
3 tasks done
Labels
Comments
2 tasks
rshen91
added a commit
that referenced
this issue
Jul 3, 2019
* add tickLabelPadding prop * add theme tickLabelPadding * suppress canvas padding manipulation * specify tickLabelPadding from axisSpec or axisConfig * isolate spec and theme in tickLabelPadding story * add AxisStyle interface #94
🎉 This issue has been resolved in version 7.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
1 task
AMoo-Miki
pushed a commit
to AMoo-Miki/OpenSearch-Dashboards
that referenced
this issue
Feb 10, 2022
# [7.1.0](elastic/elastic-charts@v7.0.2...v7.1.0) (2019-07-03) ### Features * **axis:** add tickLabelPadding prop ([opensearch-project#217](elastic/elastic-charts#217)) ([080df95](elastic/elastic-charts@080df95)), closes [opensearch-project#94](elastic/elastic-charts#94)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Is your feature request related to a problem? Please describe.
We add a small amount of default padding (1px) to axis tick labels to help with discrepancies in browser canvas text measurement. Users might want to themselves be able to adjust the amount of padding for a tick label, which is what is proposed here.
Describe the solution you'd like
Add tick label padding to the axis spec and use this to adjust the computed bounding box dimensions for a tick label.
Describe alternatives you've considered
n/a
Additional context
n/a
Kibana Cross Issues
n/a
Checklist
Kibana Cross Issues
listkibana cross issue
tag is associated to the issue if any kibana cross issue is presentThe text was updated successfully, but these errors were encountered: