[Feature] Add an attribute that allows the label to automatically adjust its rotation based on the spacing between two ticks and the available width.
Open
new-feature
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### What problem does this feature solve?
Can an attribute be added to the axis so that the label can automatically adjust its rotation based on the space between two ticks and the available width? For example, when the space between two ticks is not sufficient to display the label properly, it would automatically rotate to an angle that fits within the tick spacing.
### What does the proposed API look like?
Consider adding an `auto` option to `xAxis.axisLabel.rotate` to achieve this functionality.
Contributor guide
Assessment
This issue has not been assessed yet.