GitHub user dosubot[bot] added a comment to the discussion: Piechart label colors
<!-- Greeting --> Hi @manenand! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the superset team. <!-- Answer --> There isn't a built-in option in Superset to customize Piechart label (text) colors directly from the dashboard or chart settings. The label color is set programmatically based on the current theme (usually a dark gray) and isn't exposed as a user-facing control—only the slice colors can be changed via the "color_scheme" setting. Label content and formatting can be adjusted with "label_type" and "label_template", but not the color itself. Custom CSS might be used for further tweaks, but this can be tricky due to CSS specificity and load order issues, and there are no official selectors or documented methods for targeting Piechart label colors specifically in Superset dashboards. For more advanced customization, you'd need to modify the theme or the chart plugin code itself [citation](https://github.com/apache/superset/blob/2e9939baf253e607a54722b1996baaf625e72133/superset-frontend/plugins/plugin-chart-echarts/src/Pie/transformProps.ts). If you want to explore CSS customization, you can check out these community resources for general tips: - [Customizing Superset Dashboards with CSS](https://preset.io/blog/customizing-superset-dashboards-with-css/) - [Customizing Chart Colors with Superset & Preset](https://preset.io/blog/customizing-chart-colors-with-superset-and-preset/) But for Piechart label colors specifically, direct support isn't available at this time. <!-- 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/95fec44d-295c-4665-9bca-794cc37a04a3?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/95fec44d-295c-4665-9bca-794cc37a04a3?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/95fec44d-295c-4665-9bca-794cc37a04a3?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/95fec44d-295c-4665-9bca-794cc37a04a3?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/95fec44d-295c-4665-9bca-794cc37a04a3?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/95fec44d-295c-4665-9bca-794cc37a04a3?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/95fec44d-295c-4665-9bca-794cc37a04a3?feedback_type=other)</sup> [](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/33975) GitHub link: https://github.com/apache/superset/discussions/33975#discussioncomment-13614526 ---- 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]
