You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If we add an axis with an empty title, the axis dimension is computed independently from the existence of that title or not.
This will cause an additional empty/white space where the title is missing.
To Reproduce
Steps to reproduce the behavior:
Create an chart with a simple axis
Add or remove the title prop from the axis
The white space around the chart will remain the same
Expected behavior
The margin between the chart and the axis labels should be computed taking in consideration the existence or not of a title. If no title is visible and no margin is configured the axis should be touching the edge of the container.
Screenshots
Version (please complete the following information):
Elastic Charts: 4.2.6
Additional context
n/a
Errors in browser console
n/a
Kibana Cross Issues
n/a
Checklist
every related Kibana issue is listed under Kibana Cross Issues list
kibana cross issue tag is associated to the issue if any kibana cross issue is present
The text was updated successfully, but these errors were encountered:
The whitespace left from an undefined title is removed from the computation of the axis dimension,
removing the unneccessary whitespace occupied by an empty title label
fixelastic#225
The whitespace left from an undefined title is removed from the computation of the axis dimension, removing the unnecessary whitespace occupied by an empty title label
fix#225
Describe the bug
If we add an axis with an empty title, the axis dimension is computed independently from the existence of that title or not.
This will cause an additional empty/white space where the title is missing.
To Reproduce
Steps to reproduce the behavior:
title
prop from the axisExpected behavior
The margin between the chart and the axis labels should be computed taking in consideration the existence or not of a title. If no title is visible and no margin is configured the axis should be touching the edge of the container.
Screenshots
Version (please complete the following information):
Additional context
n/a
Errors in browser console
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: