GitHub user dosubot[bot] added a comment to the discussion: Adding Currency 
Symbol from URL

<!-- Greeting -->
Hi @asishPatnaik2000! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping 
the superset team.

<!-- Answer -->
Superset does not natively support dynamically adding a currency symbol to 
charts using URL parameters. While regular URL parameters (like 
`currencySymbol`) are merged into each chart's `form_data.url_params` during 
dashboard hydration and are technically accessible to chart plugins, the Big 
Number visualization and other chart types do not use these parameters for 
display formatting. Currency formatting is set statically in the chart's 
control panel, and there is no built-in mechanism to bind URL parameters to 
chart formatting or labels at runtime. Achieving this would require custom 
plugin development or modifying chart code to read and use URL parameters for 
formatting purposes. For reference, see how URL parameters are merged in the 
dashboard hydration process 
[here](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/src/dashboard/actions/hydrate.js)
 and the Big Number visualization implementation 
[here](https://github.com/apache/su
 
perset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.tsx).


<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*

---
<sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/1cfaf8cb-4f8e-4364-b308-f2d99b9eddb6?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/1cfaf8cb-4f8e-4364-b308-f2d99b9eddb6?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/1cfaf8cb-4f8e-4364-b308-f2d99b9eddb6?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/1cfaf8cb-4f8e-4364-b308-f2d99b9eddb6?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/1cfaf8cb-4f8e-4364-b308-f2d99b9eddb6?feedback_type=hallucination)
 | [Report 
šŸ›](https://app.dosu.dev/response-feedback/1cfaf8cb-4f8e-4364-b308-f2d99b9eddb6?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/1cfaf8cb-4f8e-4364-b308-f2d99b9eddb6?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat
 with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)&
 nbsp;[![Join 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share
 on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/35069)

GitHub link: 
https://github.com/apache/superset/discussions/35069#discussioncomment-14349961

----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: 
notifications-unsubscr...@superset.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to