GitHub user dosubot[bot] added a comment to the discussion: How to hide X-axis in a dashboard for a specific bar chart in superset v6.0.0?
<!-- Answer --> Unfortunately, **Superset v6.0.0 does not have a built-in toggle to completely hide the X-axis** on ECharts-based bar charts [[1]](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/Regular/Bar/controlPanel.tsx) [[2]](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/transformProps.ts). The Customize tab does offer these X-axis options, but none fully hide it: - **X Axis Title** — you can leave this blank to remove the title [[3]](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/Regular/Bar/controlPanel.tsx#L62-L74) - **X Axis Label Rotation** — rotate labels (0°, 45°, 90°) [[4]](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/Regular/Bar/controlPanel.tsx#L171-L179) - **Truncate X Axis** / **X Axis Bounds** — control numerical range [[5]](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/plugins/plugin-chart-echarts/src/controls.tsx#L328-L357) **Workarounds to visually hide the X-axis:** 1. **Custom CSS** — In the chart's dashboard context, you can add custom CSS to hide the axis. Go to the dashboard, click the three-dot menu on the chart card → enter CSS like: ```css .echarts-for-react svg g[clip-path] ~ g:last-of-type { display: none; } ``` *(The exact selector may vary — inspect the rendered chart to target the axis group.)* 2. **Code-level change** — If you're self-hosting, you could modify the ECharts `transformProps` to add `show: false` to the `xAxis` configuration object [[6]](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/transformProps.ts#L498-L523). There's no simpler path at the moment. If this is important to your workflow, consider opening a feature request for an "X-axis visibility" toggle. <!-- 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=72dd3ab9-1d7e-4d8f-bfcd-71f1cb312edb) [](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/41411#discussioncomment-17430397 ---- 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]
