A clear and concise description of what the bug is.
How to reproduce the bug
- Create a pie chart
- Go to the chart's "Customize" tab and set the following:
- Legend -> Orientation: Right
- Show Total: True
- Donut: True
- Click on "Update Chart"
Expected results
Expect to see the total in the middle of the donut
Actual results
Total is skewed to the left
Screenshots
Environment
(please complete the following information):
- browser type and version: Chrome, 120.0.6099.71
- superset version: 3.0.1
- python version: 3.9
- node.js version: 20.10.0
- any feature flags active:
Checklist
Make sure to follow these steps before submitting your issue - thank you!
- [x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
- [x] I have reproduced the issue with at least the latest released version of superset.
- [x] I have checked the issue tracker for the same issue and I haven't found one similar.
Additional context
Add any other context about the problem here.
Comment From: JEEVAN28
I am also facing same issue.
Comment From: rusackas
Still happening in 4.0. PRs welcome!
Comment From: yurmala
The same issue in 4.1.1
Comment From: 14KARAT-prog
The problem still exists
Comment From: rusackas
Opened a PR! Please feel free to give it a review.