-
Notifications
You must be signed in to change notification settings - Fork 19.8k
[Bug] [Sunburst] Uses of startAngle provoke labels display bug #18023
Copy link
Copy link
Closed
Labels
bugenThis issue is in EnglishThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.
Description
Version
5.4.0
Link to Minimal Reproduction
https://codesandbox.io/s/882hov
Steps to Reproduce
- Take the sunburst example : https://echarts.apache.org/examples/en/editor.html?c=sunburst-simple
- Define a startAngle property like this :
option = {
series: {
type: 'sunburst',
startAngle: 180, // <--------------------------
data: data,
radius: [0, '90%'],
label: {
rotate: 'radial'
}
}
};
Current Behavior
Label with rotate value to 'radial' are upside down

Expected Behavior
Label in a good position
Environment
- OS: Windows 10
- Browser: Brave Version 1.46.133 Chromium: 108.0.5359.71
- Framework: Angular 14.2.2Any additional comments?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugenThis issue is in EnglishThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.