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

ensure an axis has at least two ticks #1988

Open
Fil opened this issue Feb 12, 2024 · 0 comments
Open

ensure an axis has at least two ticks #1988

Fil opened this issue Feb 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Fil
Copy link
Contributor

Fil commented Feb 12, 2024

In most conditions a continuous axis (temporal or quantitative) should always show at least 2 ticks, so we get an idea of its domain. I believe that this should even be a default.

What we want to avoid is this situation which sometimes happens with responsive charts, and is hard to control.

before

instead we want
after

And if there isn't enough space, it's better to have min and max, even if they are a bit crammed into each other, than just a non-informative 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants