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

waffle unit: auto #2214

Open
Fil opened this issue Oct 30, 2024 · 0 comments · May be fixed by #2215
Open

waffle unit: auto #2214

Fil opened this issue Oct 30, 2024 · 0 comments · May be fixed by #2215
Labels
enhancement New feature or request

Comments

@Fil
Copy link
Contributor

Fil commented Oct 30, 2024

When a waffle mark depicts large values, it might become invisible because the area for each "dot" becomes infinitesimal. This suggests that the default unit should be "auto" instead of 1, and adapt to the available area.

To avoid unwanted surprises, this should not be too progressive (we don't want this to kick in for values such as 0.001 or 1000), but only happen only if the base dot is infinitesimal or super-extra-huge. It should also only work with powers of 10 (or maybe powers of 1000).

It should also be shared between all waffle marks (but that should be OK given that it will be based on the available area = bandwidth × bar length). We might want a way to surface it to the user (something like an internal scale, maybe?).

Image

@Fil Fil added the enhancement New feature or request label Oct 30, 2024
Fil added a commit that referenced this issue Oct 30, 2024
@Fil Fil linked a pull request Oct 30, 2024 that will close this issue
3 tasks
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

Successfully merging a pull request may close this issue.

1 participant