You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "dosubot[bot] (via GitHub)" <gi...@apache.org> on 2026/05/02 03:11:47 UTC
Re: [D] Feature Request: Dynamic Maximum Value for Bullet and Gauge Charts [superset]
GitHub user dosubot[bot] edited a comment on the discussion: Feature Request: Dynamic Maximum Value for Bullet and Gauge Charts
<!-- Answer -->
There isn't currently a way to set the maximum value of Bullet or Gauge charts dynamically based on a metric in Superset—the max value must be entered manually in the chart controls. This is a known limitation and a frequent feature request in the community ([discussion](https://github.com/apache/superset/discussions/28647), [discussion](https://github.com/apache/superset/discussions/36287)). For Bullet charts, the "Markers" (target/max) field only accepts static numbers, not metrics. For Gauge charts, the "max_val" is a static input as well ([code reference](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/plugins/plugin-chart-echarts/src/Gauge/controlPanel.tsx#L66-L86)).
A common workaround is to preprocess your data outside Superset (for example, in your database or ETL pipeline) so both the value and the target/max are available as columns, then use the value as the measure and manually set the max in the chart config ([workaround details](https://github.com/apache/superset/discussions/36287)). True dynamic max values would require custom plugin development or changes to the chart's transform logic ([related technical discussion](https://github.com/apache/superset/discussions/35054)).
Let me know if you want more details on possible custom approaches or code pointers!
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=apache%2Fsuperset).*
---
Share context across your team and agents. Try [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-tagline&utm_term=apache%2Fsuperset).
[](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-feedback&utm_term=apache%2Fsuperset&message_id=c52289b2-bbf2-47bd-9e66-1ea201370348) [](https://github.dosu.com/apache/superset?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-learn-repo&utm_term=apache%2Fsuperset) [](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-add-team&utm_term=apache%2Fsuperset)
GitHub link: https://github.com/apache/superset/discussions/30170#discussioncomment-15544497
----
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