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

fix(#3488): don't use zero as min for size scale by default so no points will be ever hidden #9347

Merged
merged 5 commits into from
May 16, 2024

Conversation

kanitw
Copy link
Member

@kanitw kanitw commented May 9, 2024

Also adjust the default defaultMinSize to be 4, so the smallest point is not too big.
fix #3488

@kanitw kanitw requested a review from a team as a code owner May 9, 2024 14:50
@kanitw kanitw requested review from domoritz and yhoonkim May 9, 2024 14:50
@kanitw kanitw marked this pull request as draft May 9, 2024 14:52
Copy link

cloudflare-workers-and-pages bot commented May 9, 2024

Deploying vega-lite with  Cloudflare Pages  Cloudflare Pages

Latest commit: ba551b5
Status:🚫  Build failed.

View logs

@kanitw kanitw changed the title fix(#3488): don't use zero as min for size scale so no points will be ever hidden fix(#3488): don't use zero as min for size scale by default so no points will be ever hidden May 9, 2024
@kanitw kanitw marked this pull request as ready for review May 9, 2024 14:59
@kanitw
Copy link
Member Author

kanitw commented May 9, 2024

I actually like that we now show zero in legend, so it's clear what's the min size shown.

image

Copy link
Member

@lsh lsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change seems sensible to me, as does eventually allowing custom min and max.

@kanitw kanitw merged commit 7db657a into main May 16, 2024
9 checks passed
@kanitw kanitw deleted the kw/3488-size-scale-min branch May 16, 2024 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Small non-zero values for size scale are not visible
2 participants