radar chart min and max values #36131
Replies: 1 comment 2 replies
-
|
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 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, source). 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. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I created a radar chart with Superset v5. For one of my variables, I would like higher numbers to be considered worse. In other words, the closer the value is to 0, the farther the point should be from the center, and the larger it is, the closer it should be to the center. To achieve this, I turned the variable into a negative value, but now I end up with a '-' sign in front of it… And I set 0 as the max value and -10 as the min
Beta Was this translation helpful? Give feedback.
All reactions