GitHub user dosubot[bot] added a comment to the discussion: radar chart min and max values
<!-- Answer --> Superset doesn't have a built-in option to invert radar chart axes so that higher values are closer to the center. Setting negative values (like min = -10, max = 0) will show a minus sign unless you use a custom number format. You can set per-metric min and max values in the radar chart's "Customize Metrics" section using `radarMetricMinValue` and `radarMetricMaxValue`—but the axis direction itself can't be flipped natively, only scaled as-is. The closest workaround is to transform your data (multiply by -1), but this will display negative signs unless you use a D3 number format string that hides or alters them (for example, using parentheses for negatives). Superset's number formatting is D3-based, so you can experiment with format strings in the "Number format" control, but there's no built-in way to simply drop the minus sign entirely. More details on how this works are in the code for the radar chart plugin and its control panel ([source](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/plugins/plugin-chart-echarts/src/Radar/transformProps.ts#L53-L314), [source](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/plugins/plugin-chart-echarts/src/Radar/controlPanel.tsx#L44-L214)). If you need to visually invert the axis without negative signs, you may need to preprocess your data to fit the desired scale and use a custom number format to minimize the impact of negative values. <!-- 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/dcc3cc44-504b-4db7-bbca-325bfbd00050?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/dcc3cc44-504b-4db7-bbca-325bfbd00050?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/dcc3cc44-504b-4db7-bbca-325bfbd00050?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/dcc3cc44-504b-4db7-bbca-325bfbd00050?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/dcc3cc44-504b-4db7-bbca-325bfbd00050?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/dcc3cc44-504b-4db7-bbca-325bfbd00050?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/dcc3cc44-504b-4db7-bbca-325bfbd00050?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/36131) GitHub link: https://github.com/apache/superset/discussions/36131#discussioncomment-14987169 ---- 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]
