GitHub user dosubot[bot] added a comment to the discussion: Mixed Charts legend
<!-- Answer --> The change to show both Metrics and Dimensions in the Mixed Charts legend is intentional in Superset 6.0 and is now the expected behavior [PR #35005](https://github.com/apache/superset/pull/35005). There is no built-in option, checkbox, or chart setting to hide Metrics from the legend when Dimensions are specified [discussion](https://github.com/apache/superset/discussions/34689) [issue](https://github.com/apache/superset/issues/34916). The “Show query identifiers” checkbox only controls whether query names are appended to legend entries, not the display of Metrics themselves. If you want to customize legend content (such as hiding Metrics), it would require modifying frontend code (for example, in `transformProps.ts`) or developing a custom chart plugin. Setting custom metric labels can improve legend readability, but cannot remove Metrics from the legend when Dimensions are present [discussion](https://github.com/apache/superset/discussions/34689). There is no supported ECharts override or UI workaround for this. <!-- 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/f65ce4ac-f385-4cc2-ae3e-b0f955506261?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/f65ce4ac-f385-4cc2-ae3e-b0f955506261?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/f65ce4ac-f385-4cc2-ae3e-b0f955506261?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/f65ce4ac-f385-4cc2-ae3e-b0f955506261?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/f65ce4ac-f385-4cc2-ae3e-b0f955506261?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/f65ce4ac-f385-4cc2-ae3e-b0f955506261?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/f65ce4ac-f385-4cc2-ae3e-b0f955506261?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github) [](https://cursor.com/link/prompt?text=The%20change%20to%20show%20both%20Metrics%20and%20Dimensions%20in%20the%20Mixed%20Charts%20legend%20is%20intentional%20in%20Superset%206.0%20and%20is%20now%20the%20expected%20behavior%C2%A0%5BPR%20%2335005%5D%28https%3A//github.com/apache/superset/pull/35005%29.%20There%20is%20no%20built-in%20option%2C%20checkbox%2C%20or%20chart%20setting%20to%20hide%20Metrics%20from%20the%20legend%20when%20Dimensions%20are%20specified%C2%A0%5Bdiscussion%5D%28https%3A//github.com/apache/superset/discussions/34689%29%C2%A0%5Bissue%5D%28https%3A//github.com/apache/superset/issues/34916%29.%20The%20%E2%80%9CShow%20query%20identifiers%E2%80%9D%20checkbox%20only%20controls%20whether%20query%20names%20are%20appended%20to%20legend%20entries%2C%20not%20the%20display%20of%20Me trics%20themselves.%0A%0AIf%20you%20want%20to%20customize%20legend%20content%20%28such%20as%20hiding%20Metrics%29%2C%20it%20would%20require%20modifying%20frontend%20code%20%28for%20example%2C%20in%20%60transformProps.ts%60%29%20or%20developing%20a%20custom%20chart%20plugin.%20Setting%20custom%20metric%20labels%20can%20improve%20legend%20readability%2C%20but%20cannot%20remove%20Metrics%20from%20the%20legend%20when%20Dimensions%20are%20present%C2%A0%5Bdiscussion%5D%28https%3A//github.com/apache/superset/discussions/34689%29.%20There%20is%20no%20supported%20ECharts%20override%20or%20UI%20workaround%20for%20this.) [](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/36945) GitHub link: https://github.com/apache/superset/discussions/36945#discussioncomment-15431681 ---- 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]
