-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Scale to Data Bounds margin applied only to lower bound #44272
Comments
Although I've never hacked on Kibana source before, I believe this bug is in
|
Pinging @elastic/kibana-app |
I'm also seeing this problem, please fix! 7.5.1 |
This is still a problem in version 7.8 |
Still an issue with 7.10, please fix |
This would be great to fix because I can't use the data bounds feature with this problem, it hides the data on the borders! |
This is fixed as of Screen.Recording.2021-04-05.at.04.22.08.PM.mp4One caveat is that the margin will be applied to the min and max of the data domain but will be contained to 0. Meaning if you had a margin of |
Kibana version: 7.3.1
Elasticsearch version: 7.3.1
Server OS version: CentOS Linux release 7.6.1810 (Core)
Browser version: 76.0.3809.100 (Official Build) (64-bit)
Browser OS version: Microsoft Windows [Version 10.0.17134.950]
Original install method (e.g. download page, yum, from source, etc.): yum
Describe the bug: When creating a Line Visualization, setting the Y-Axis Custom Extents option Scale to Data Bounds and a Bounds Margin applies the margin to the lower bound, but not to the upper bound.
For example, in the attached screenshot, the Bounds Margin is set to 5, indicating that the extents of the Y-Axis should be
(max(metric)+5)
and the lower axis should be(min(metric)-5)
. As you can see, the lower bound is correctly set, but the upper bound has not had the margin added.Steps to reproduce:
Expected behavior:
In step 7 above, the upper extent of the Y-Axis should be
(max value of metric + margin)
Screenshots (if relevant):
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Any additional context:
The text was updated successfully, but these errors were encountered: