KlyapkoV opened a new issue, #37449:
URL: https://github.com/apache/superset/issues/37449
### Bug description
**Summary**
In the Radar chart, the visual placement of data labels does not correspond
to the selected label position option (e.g., “Inside Left”, “Inside Bottom
Right”). Regardless of the chosen setting, labels appear in the same
location—typically above the data point—making the position control ineffective
and misleading.
**Steps to Reproduce**
1. Create or edit a chart of type Radar.
2. Go to the Label Position setting in the chart customization panel.
3. Select a position such as:
- **“Inside Left”** → expected: label appears to the left of the data
point, inside the polygon.
- **“Inside Bottom Right”** → expected: label appears in the
bottom-right quadrant relative to the point.
4. Observe that the label always renders above the point (or in a fixed
position), regardless of the selection.
**Expected Behavior**
The label should be positioned exactly as specified by the user:
- **“Inside Left”** → rendered to the left of the data point, within the
radar polygon.
- **“Inside Bottom Right”** → rendered toward the bottom-right direction
from the point.
Each directional option should produce a visibly distinct and correct
placement.
**Impact**
This bug reduces chart readability and undermines user trust in
customization controls. It becomes especially problematic when multiple series
or dense data points require precise label positioning to avoid overlap or
misinterpretation.
### Screenshots/recordings
- Selected position: Inside left (highlighted in red box under Labels >
Position).
- Actual label placement: Labels (e.g., 16.5k, 13.7k) appear above the data
points — not to the left as configured.
- Red arrow highlights the mismatch: label for p1 axis is positioned
vertically above, despite “Inside left” being selected.
<img width="2138" height="697" alt="Image"
src="https://github.com/user-attachments/assets/d2e1068c-a4e0-4948-9831-a3a6b9e94d84"
/>
<br>
- Selected position: Inside bottom right (highlighted in red box under
Labels > Position).
- Actual label placement: Labels (e.g., 16.5k, 13.7k) still appear above the
data points — not in the bottom-right as configured.
- Red arrow points to the label for p1 axis, which remains positioned
vertically above the point, ignoring the selected direction.
<img width="2127" height="672" alt="Image"
src="https://github.com/user-attachments/assets/02836d73-fc1f-4d4a-8d57-987e6e87c2c6"
/>
### Superset version
5.0.0
### Python version
3.10
### Node version
I don't know
### Browser
Chrome
### Additional context
_No response_
### Checklist
- [x] I have searched Superset docs and Slack and didn't find a solution to
my problem.
- [x] I have searched the GitHub issue tracker and didn't find a similar bug
report.
- [ ] I have checked Superset's logs for errors and if I found a relevant
Python stacktrace, I included it here as text in the "additional context"
section.
--
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]