-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
Upon download as PDF, charts on a long dashboard render as loading image #29719
Comments
A naive question: if all of the charts have loaded in my browser, why would any of them be the loading icon when I print to PDF? |
Same issue here, I want my users to be able to print the graphs on the page that are rendered outside of their viewport. I am using the |
@sfirke Same Issue occurs when downloading as image, any fix available for above bug? |
Still seems to be broken on my side sadly while using However, this still seems to showcase only the graphs that are within the viewport of a user. |
any update on this issue. |
From what my team investigated it might be due to the virtualization feature - i.e. the superset UI off-loads charts that are away from the viewport So I am not sure there is such thing as "all-charts-were-loaded" event In our case, we found a workaround:
FEATURE_FLAGS = {
"DASHBOARD_VIRTUALIZATION": False,
} Now the dashboard loads charts once without off-loading them during the scroll Perhaps it will help someone 👀 |
Thanks, looking into it |
Bug description
My user has a long dashboard - 41 charts on the tab she is downloading to PDF. I wait for the charts to all load. Then when I click Download -> PDF, the first 7 charts (Firefox) or 9 charts (Chrome) are rendered, followed by the remaining ~32 charts that have the loading symbol.
If I use my browser (both Chrome and Firefox) print function, the first 9 charts are rendered, followed by 32 with loading symbols. Possible duplicate of #27008 which was closed for lack of details.
How to reproduce the bug
Create a dashboard with very many charts in one tab, each with a moderate load time (say 0.5 seconds). Let all the charts load. Export to PDF or use the browser print-to-PDF function.
Screenshots/recordings
Superset version
4.0.2
Python version
Not applicable
Node version
Not applicable
Browser
Chrome
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: