Embeded charts #26051
Replies: 4 comments 5 replies
-
I agree with this feature request. Embedding individual charts is a feature supported by other visualization tools like Grafana and Metabase, and it would significantly enhance the flexibility of UI design and user experience when building custom dashboards. For instance, when creating a frontend app with frameworks like React.js or Vue.js, each graph could be easily embedded within individual cards or sections to create a responsive layout, with custom UI components seamlessly integrated between each graph. |
Beta Was this translation helpful? Give feedback.
-
if we go to individual charts, we see an option to share the chart and there is an option to embedd the chart, which gives you an iframe URL. Not sure if there is any way to get the embedding iframe URL from API, we get the list of all the charts though. |
Beta Was this translation helpful? Give feedback.
-
You can do this on two ways: First way: Second way (more Note that you need to keep track down what public role can really access After this you will be allowed to embed charts without Auth required and here also you have two options: The first one easy so i will give more details about
form_data_obj = { adhoc_filters: [{}], slice_id: <number>} Example:
Then encode it
Final URL:
Final Thoughts: |
Beta Was this translation helpful? Give feedback.
-
@sohaibqasem I've been banging my head against this issue all Friday and decide to make one last attempt today when I finally your comment with the exact user permissions I need to bypass login for an embedded iFrame chart. THANK YOU. |
Beta Was this translation helpful? Give feedback.
-
Hi all!
My organisation is using Superset embeds via the superset-embed-sdk and guest-token authentication.
It's working well so far, we were wondering if we'd also be able to extend this system to embedding charts in the same way, via the same code.
This would enable us to add Superset charts to our discussion systems, which would be a neat feature - currently we see lots of screenshots of Superset charts instead.
I would in theory be able to spend time working on this feature.
Beta Was this translation helpful? Give feedback.
All reactions