Skip to content

Squeeze Vega-Lite charts to fit their widget - #123

Merged
TanayBensuYurtturk merged 1 commit into
mainfrom
TanayBensuYurtturk/vega-squeeze-fit
Oct 26, 2026
Merged

TanayBensuYurtturk merged 1 commit into
mainfrom
TanayBensuYurtturk/vega-squeeze-fit

Conversation

@TanayBensuYurtturk

Copy link
Copy Markdown
Contributor

Summary

Vega-Lite charts now fit their widget like the other chart types instead of scrolling: explicit sizes in the spec are overridden, composed views (facet/concat/repeat) scale down, and truncated axis/legend labels show the full name on hover. Also drops the export snapshot path from #122 since charts no longer overflow.

Testing

  • make test
  • make build
  • relevant example or manual smoke test

Checklist

  • scanned docs/ and updated (or added) the relevant pages
  • examples updated if the authoring model changed
  • screenshots or recordings attached for UI changes

Single and layered views now always take the widget size, like the
built-in chart types, instead of scrolling. Composed views scale down to
fit, and truncated axis and legend labels show their full text on hover.
@greptile-apps

greptile-apps Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

RetriggerView in Greptile

[Medium impact] The PR appears safe to merge; no actionable defects were established.

Reviews (1) · Last reviewed commit: "Squeeze Vega-Lite charts to fit their wi..." · Reviewed by Greptile

@TanayBensuYurtturk
TanayBensuYurtturk merged commit 4b816ec into main Oct 26, 2026
2 checks passed
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.

2 participants