dosubot[bot] commented on issue #33913: URL: https://github.com/apache/superset/issues/33913#issuecomment-3006179452
<!-- Greeting --> Hi @maximedemarey-wb! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the superset team. <!-- Answer --> The tooltip content for Pie Charts in Superset v4.x is controlled by the "Label Type" and "Label Template" options in the chart's control panel. The unreadable concatenation of total and percentage is likely due to the current `label_type` setting. To improve readability, try setting "Label Type" to "Category, Value and Percentage" for a format like `Name: Value (Percentage)`, which matches the clearer style from previous versions. For even more control, use the "Template" option and customize the tooltip with variables like `{name}`, `{value}`, and `{percent}` [cite](https://github.com/apache/superset/blob/f802474b07bc7a2765e57fcd6612d2b4454f5c62/superset-frontend/plugins/plugin-chart-echarts/src/Pie/controlPanel.tsx). If the "Total" label is also cluttering the chart, you can disable it by unchecking the "Show Total" option in the control panel [cite](https://github.com/apache/superset/issues/31716). These settings should help you achieve a more readable tooltip. If the issue persists, it may be related to specific chart settings or data, so experimenting with different configurations can help pinpoint the cause. <!-- 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/21d3dd60-a07f-4b96-b091-72d8ddcf1f95?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/21d3dd60-a07f-4b96-b091-72d8ddcf1f95?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/21d3dd60-a07f-4b96-b091-72d8ddcf1f95?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/21d3dd60-a07f-4b96-b091-72d8ddcf1f95?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/21d3dd60-a07f-4b96-b091-72d8ddcf1f95?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/21d3dd60-a07f-4b96-b091-72d8ddcf1f95?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/21d3dd60-a07f-4b96-b091-72d8ddcf1f95?feedback_type=other)</sup> [](https://go.dosu.dev/discord-bot) [! [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/issues/33913) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
