GitHub user dosubot[bot] added a comment to the discussion: Tooltip next to the chart title
<!-- Greeting --> Hi @alextsayun! I'm [Dosu](https://go.dosu.dev/dosubot) and Iām helping the superset team. <!-- Answer --> There isn't a built-in or UI-based way to add custom tooltips next to chart titles in Superset dashboards. However, you can achieve this with a small frontend code change. The SliceHeader component, which renders the chart title, already wraps the title in a Tooltip and supports custom tooltip content via the getSliceHeaderTooltip function. You can customize this function to display your own explanatory info for each chart title, or modify the SliceHeader to include an info icon with a tooltip (using the Tooltip or InfoTooltip components) next to the title for more flexibility. The ExploreChartHeader component also supports rendering additional items next to the title, which could be used for a similar purpose. This approach requires editing the frontend code, specifically in files like `superset-frontend/src/dashboard/components/SliceHeader/index.tsx` and `superset-frontend/src/dashboard/util/getSliceHeaderTooltip.tsx` [SliceHeader example](https://github.com/apache/superset/blob/master/superset-frontend/src/dashboard/components/SliceHeader/index.tsx) [Tooltip usage pattern](https://github.com/apache/superset/blob/master/superset-frontend/src/components/Chart/DisabledMenuItemTooltip.tsx) [InfoTooltip example](https://github.com/apache/superset/blob/master/superset-frontend/src/pages/ChartList/index.tsx) There is no way to do this via dashboard configuration or the Superset UI at this time. If you or others have a reusable solution, sharing it with the community would be valuable! <!-- 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/132dbedb-5f5e-47d3-8f39-769f7963fe7e?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/132dbedb-5f5e-47d3-8f39-769f7963fe7e?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/132dbedb-5f5e-47d3-8f39-769f7963fe7e?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/132dbedb-5f5e-47d3-8f39-769f7963fe7e?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/132dbedb-5f5e-47d3-8f39-769f7963fe7e?feedback_type=hallucination) | [Report š](https://app.dosu.dev/response-feedback/132dbedb-5f5e-47d3-8f39-769f7963fe7e?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/132dbedb-5f5e-47d3-8f39-769f7963fe7e?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)& nbsp;[](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/35579) GitHub link: https://github.com/apache/superset/discussions/35579#discussioncomment-14634144 ---- 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]
