GitHub user dosubot[bot] added a comment to the discussion: Downloaded as Image - Numbers are cropped from both the sides in superset5.0
<!-- Answer --> This is a documented issue in Superset 5.0 where the "Download as Image" functionality (which uses the `dom-to-image-more` library) only captures the currently visible portion of chart components instead of the full content [[1]](https://github.com/apache/superset/issues/33904#issuecomment-3016831426). That's also why fullscreen mode works — it expands the viewport so more content becomes "visible" to the capture library. The definitive fix was implemented in [PR #34233](https://github.com/apache/superset/pull/34233), which enhances the clone/export process to handle scrollable and overflowing containers properly. However, this fix landed **after** the 5.0 release and is available in **Superset 6.0.0+** [[1]](https://github.com/apache/superset/issues/33904#issuecomment-3016831426). **Workarounds for Superset 5.0:** 1. **Upgrade to 6.0.0+** — this is the recommended path since it includes the proper fix. 2. **Add a CSS override** to your Superset instance: ```css .dashboard-component-chart-holder { box-sizing: border-box; } ``` 3. **Use fullscreen mode** before downloading (as you've already discovered). 4. **Set `DASHBOARD_VIRTUALIZATION: False`** in your Superset config [[1]](https://github.com/apache/superset/issues/33904#issuecomment-3016831426) — though this may impact performance on dashboards with many charts. If upgrading is an option, that's the cleanest solution since multiple image export improvements are included in 6.0. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=apache%2Fsuperset).* --- Docs are dead. Just use [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-tagline&utm_term=apache%2Fsuperset). [](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-feedback&utm_term=apache%2Fsuperset&message_id=05178e7a-cf54-494a-9096-38949608f8b5) [](https://github.dosu.com/apache/superset?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-ask-repo&utm_term=apache%2Fsuperset) [](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-share-team&utm_term=apache%2Fsuperset) GitHub link: https://github.com/apache/superset/discussions/40496#discussioncomment-17130625 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
