GitHub user yangrn2000-star created a discussion: How to control chart rendering via URL parameters when using Permalink?
### Background I’m using the **Tree Chart** in Apache Superset, and my chart contains **multiple root nodes**. In my application, the chart is embedded into a custom UI using **iframe**. I would like to reuse the same chart while displaying **different parts of the tree** by passing parameters through the URL. ### Problem Currently, when accessing the dashboard or chart via a permalink, there is no obvious way to specify **which root node the tree chart should start rendering from**. For example, I’m looking for something like: ``` http://localhost:9000/superset/dashboard/SHhdjk89235/?root_node_id=1 ``` so that the tree chart renders starting from the specified root node. ### Expected Behavior * Allow passing a parameter (e.g. `root_node_id`) via URL or permalink * The Tree Chart should render starting from the specified root node * This would make it possible to embed the same chart with different initial views ### Questions 1. Is this functionality supported in **Superset 4.1.1**? 2. If not, is there a recommended approach or workaround in **newer versions** of Superset (e.g. native filters, URL parameters, or chart-level configuration)? ### Environment * Superset version: **4.1.1** * Chart type: **Tree Chart** * Embedding method: **iframe** Thanks in advance for any guidance or suggestions. GitHub link: https://github.com/apache/superset/discussions/36675 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
