GitHub user dosubot[bot] added a comment to the discussion: Login redirection does not use subpath prefix
<!-- Answer --> Correct — the Gauge chart in Superset does **not** support custom axis labels per interval. The intervals feature only controls **coloring** of the gauge axis line and pointer, not label placement or text [[1]](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/plugins/plugin-chart-echarts/src/Gauge/transformProps.ts#L252-L317) [[2]](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/plugins/plugin-chart-echarts/src/Gauge/controlPanel.tsx#L266-L291). Axis labels are auto-generated uniformly based on `min`, `max`, and `splitNumber` (the number of segments). You can control: - **How many labels** appear via `Split Number` (3–30, default 10) - **Number formatting** via `Number Format` (D3 format, default 'SMART_NUMBER') - **Font size** of the labels But there's no way to assign custom text labels (like "Low", "Medium", "High") to specific interval boundaries — this ECharts capability isn't exposed by Superset's gauge plugin [[3]](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/plugins/plugin-chart-echarts/src/Gauge/controlPanel.tsx#L110-L142). **Workarounds:** - Adjust `splitNumber` so the auto-generated labels align with your interval boundaries - If you need descriptive text labels at intervals, you'd need to customize the plugin code in `superset-frontend/plugins/plugin-chart-echarts/src/Gauge/` to expose ECharts' full `axisLabel.formatter` function, which supports per-value label customization There are no existing PRs or feature requests for this that I could find, so if this is important to your use case, it could be a good feature contribution. <!-- 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).* --- Docs are dead. Just use [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-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=static-docs-feedback&utm_term=apache%2Fsuperset&message_id=5d5daaeb-a08f-4187-8b2d-86aa9b52b9f7) [](https://github.dosu.com/apache/superset?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-ask-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=static-docs-share-team&utm_term=apache%2Fsuperset) GitHub link: https://github.com/apache/superset/discussions/40082#discussioncomment-17450437 ---- 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]
