You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "sunilreddy0720 (via GitHub)" <gi...@apache.org> on 2026/05/28 10:57:26 UTC
[D] Downloaded as Image - Numbers are cropped from both the sides in superset5.0 [superset]
GitHub user sunilreddy0720 created a discussion: Downloaded as Image - Numbers are cropped from both the sides in superset5.0
Hi,
Need a bit of help here when i upgraded to superset5.0.
when i do download as image for databoxes, only visible part on UI is getting downloaded like cropping the image from both sides.
**on dashboard:**
<img width="250" height="234" alt="image" src="https://github.com/user-attachments/assets/491a633c-a4ee-479b-b092-3376992ed394" />
**downloaded as image:**
<img width="181" height="155" alt="image" src="https://github.com/user-attachments/assets/4b1ded24-8117-4a76-b237-4a57bb41a39a" />
But when i enter to Fullscreen mode and do download as image, it works fine
GitHub link: https://github.com/apache/superset/discussions/40496
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [D] Downloaded as Image - Numbers are cropped from both the sides in superset5.0 [superset]
Posted by "sunilreddy0720 (via GitHub)" <gi...@apache.org>.
GitHub user sunilreddy0720 added a comment to the discussion: Downloaded as Image - Numbers are cropped from both the sides in superset5.0
@dosu
can you help us on the above issue
GitHub link: https://github.com/apache/superset/discussions/40496#discussioncomment-17130581
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [D] Downloaded as Image - Numbers are cropped from both the sides in superset5.0 [superset]
Posted by "sunilreddy0720 (via GitHub)" <gi...@apache.org>.
GitHub user sunilreddy0720 closed the discussion with a comment: Downloaded as Image - Numbers are cropped from both the sides in superset5.0
This PR https://github.com/apache/superset/pull/34233 help in solving the issue, Thanks
GitHub link: https://github.com/apache/superset/discussions/40496#discussioncomment-17133693
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [D] Downloaded as Image - Numbers are cropped from both the sides in superset5.0 [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
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 notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [D] Downloaded as Image - Numbers are cropped from both the sides in superset5.0 [superset]
Posted by "sunilreddy0720 (via GitHub)" <gi...@apache.org>.
GitHub user sunilreddy0720 closed a discussion: Downloaded as Image - Numbers are cropped from both the sides in superset5.0
Hi,
Need a bit of help here when i upgraded to superset5.0.
when i do download as image for databoxes, only visible part on UI is getting downloaded like cropping the image from both sides.
**on dashboard:**
<img width="250" height="234" alt="image" src="https://github.com/user-attachments/assets/491a633c-a4ee-479b-b092-3376992ed394" />
**downloaded as image:**
<img width="181" height="155" alt="image" src="https://github.com/user-attachments/assets/4b1ded24-8117-4a76-b237-4a57bb41a39a" />
But when i enter to Fullscreen mode and do download as image, it works fine
GitHub link: https://github.com/apache/superset/discussions/40496
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org