You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "MNITD (via GitHub)" <gi...@apache.org> on 2024/09/09 13:56:08 UTC
Re: [I] Upon download as PDF, charts on a long dashboard render as loading image [superset]
MNITD commented on issue #29719:
URL: https://github.com/apache/superset/issues/29719#issuecomment-2338198691
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:
- we disabled the virtulaization feature by changing the superset config (`docker/pythonpath_dev/superset_config_docker.py`)
- inside the config we updated the `FEATURE_FLAGS` variable:
```python
FEATURE_FLAGS = {
"DASHBOARD_VIRTUALIZATION": False,
}
```
Now the dashboard loads charts once without off-loading them during the scroll
In result, we don't have any loading spinners on the downloaded PDF
Perhaps it will help someone 👀
--
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org