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
Is your feature request related to a problem? Please describe.
Axis domain padding can be specified as percentage or total value related to the scale itself. However as this setting is often used for aesthetics, it would be useful to specify it as a pixel value.
Describe the solution you'd like
elastic-charts should take a setting like this:
{ padding: '10px' }
Then it does the calculation of values to pixels and applies the appropriate padding
Describe alternatives you've considered
Theoretically the consumer could do this calculation, but it's cumbersome because the height of the chart has to be tracked to do so.
Additional context
This came up because the comment of the padding property actually specifies it can be a pixel value which is not the case
Checklist
Delete any items that are not applicable to this feature request.
this request is checked against already exist requests
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:
Is your feature request related to a problem? Please describe.
Axis domain padding can be specified as percentage or total value related to the scale itself. However as this setting is often used for aesthetics, it would be useful to specify it as a pixel value.
Describe the solution you'd like
elastic-charts should take a setting like this:
Then it does the calculation of values to pixels and applies the appropriate padding
Describe alternatives you've considered
Theoretically the consumer could do this calculation, but it's cumbersome because the height of the chart has to be tracked to do so.
Additional context
This came up because the comment of the
padding
property actually specifies it can be a pixel value which is not the caseChecklist
Delete any items that are not applicable to this feature request.
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: