Skip to content
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 padding #448

Closed
emeeks opened this issue Apr 1, 2019 · 1 comment
Closed

Add padding #448

emeeks opened this issue Apr 1, 2019 · 1 comment
Assignees

Comments

@emeeks
Copy link
Member

emeeks commented Apr 1, 2019

Best practices and guides often suggest, for instance, that a line chart shouldn't extend to the very bottom or very top of a chart, so expose some mechanism that allows you to give pixels so expose a padding prop on frames that does the following:

1 is padding in pixels. <1 is padding in percent. Padding can be a number or an object with left,right,top,bottom.

Honor an "auto" mode that tries to derive smart padding from data

@emeeks emeeks self-assigned this Apr 1, 2019
@emeeks
Copy link
Member Author

emeeks commented Mar 22, 2020

Duplicate of #444

@emeeks emeeks marked this as a duplicate of #444 Mar 22, 2020
@emeeks emeeks closed this as completed Mar 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant