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

Give the multiview template extra large sizes for each layer #3759

Closed
wants to merge 1 commit into from

Conversation

sroy3
Copy link
Contributor

@sroy3 sroy3 commented Apr 25, 2023

Quick prototype for #3757

Screen.Recording.2023-04-25.at.3.02.01.PM.mov

Because we scale down the plot when its layers have 300x300 dimensions, the hypothesis here is that by giving it a very large size, it will also scale down. The problem with this solution, is that there aren't just plots layers inside of this plot. The legends and labels need to be scaled down by a lot to show the big plots.

This is the same thing that's actually happening when the size is 300, but it's less apparent because 300 is a small value and it's easier to fit in the rest (scaling down to 280 will make the legend and labels still scale down only a little as well. Scaling down from 3000 to 500 is a lot to compensate and for VegaLite to find room for other items. We could go for something smaller than 3000, but it's impossible to find the perfect value (big screens vs small screens).

I'll try making this dynamic next.

@sroy3 sroy3 added the product PR that affects product label Apr 25, 2023
@sroy3 sroy3 self-assigned this Apr 25, 2023
@sroy3 sroy3 requested a review from shcheklein April 25, 2023 19:28
@sroy3 sroy3 closed this Apr 26, 2023
@sroy3 sroy3 deleted the large-size-template branch April 26, 2023 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do not merge product PR that affects product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant