You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "pbauer (via GitHub)" <gi...@apache.org> on 2025/07/07 11:13:16 UTC
[D] Can we add the menu and title to the standalone view of a chart? [superset]
GitHub user pbauer created a discussion: Can we add the menu and title to the standalone view of a chart?
In a website we embed Superset-Charts using iframes. Aside from the individual charts we also want to include the menu that is contained in the `SliceHeaderControls` to offer these features (e.g. "View as table" and "Fullscreen") to Visitors. This menu currently only shows up when a chart is part of a dashboard but not when a chart is shown in standalone-Mode.
Would that be something that is of interest to the superset-community or are there issues I do not see?
Including the `SliceHeader` with Title and Menu could be controlled via additional querystrings like this: http://localhost:8088/superset/explore/p/GxVYy2omDrZ/?standalone=1&menu=1&title=1
In case there are reasons that prevent this solution, would you consider the following a viable alternative for our use-case:
Given the url/id of a chart we could use the api to create a dashboard containing only that chart. Then we could embed that dashboard with a URL like http://localhost:8088/superset/dashboard/12/?standalone=1 and drop the dashboard-filters-panel and dashboard-header.
Thanks for any help!
GitHub link: https://github.com/apache/superset/discussions/34086
----
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