dosubot[bot] commented on issue #33904:
URL: https://github.com/apache/superset/issues/33904#issuecomment-3004588027

   <!-- Answer -->
   This is a known limitation: when you use "Download as Image" on a table or 
handlebar chart in a dashboard, only the visible portion is exported. This 
happens because Superset uses the `dom-to-image-more` library, which captures 
only what's currently rendered in the DOM—so if the chart/table is scrollable, 
only the visible section is included in the image export. There is no code in 
the current implementation to expand the table or render all rows before 
capturing the image, and no workarounds or enhancements for this have been 
documented or proposed in recent issues or pull requests 
[[source]](https://github.com/apache/superset/blob/e0e3f9494972e90b3eec7a23d75747e0e63c07c9/superset-frontend/src/utils/downloadAsImage.ts).
   
   This limitation is specific to table and handlebar charts. Other chart types 
(like bar, line, or pie charts) that use ECharts can export the full chart 
regardless of what is visible, because ECharts provides its own export API that 
isn't limited by the DOM viewport.
   
   Currently, the only alternatives are to export the data as CSV or use a 
browser extension to capture the full scrollable area, but these are not 
integrated solutions. If you need the full table as an image, you would need a 
feature enhancement that temporarily expands the table before capture or 
stitches together multiple images.
   
   
   <!-- Dosu Comment Footer -->
   *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
   
   ---
   <sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/f26346f5-b775-4000-852e-deaeb5ae4312?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/f26346f5-b775-4000-852e-deaeb5ae4312?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/f26346f5-b775-4000-852e-deaeb5ae4312?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/f26346f5-b775-4000-852e-deaeb5ae4312?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/f26346f5-b775-4000-852e-deaeb5ae4312?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/f26346f5-b775-4000-852e-deaeb5ae4312?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/f26346f5-b775-4000-852e-deaeb5ae4312?feedback_type=other)</sup>&nbsp;&nbsp;[![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[!
 [Share on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/33904)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to