apache / apache/echarts

[Feature] Uniform all axis name options to single `axisName` option like `radar.axisName`

Open
#20,989 0 comments 0 reactions 0 assignees View on GitHub
discussion-required en new-feature topic: axis topic: radar
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### What problem does this feature solve?

1. Uniform and simplify the axis name option structure like `radar.axisName`.
2. Fix some `radar.axisName` options can't work as expected.

### What does the proposed API look like?

- `nameLocation` -> `axisName.position`
- `nameGap` -> `axisName.gap`
- `nameRotate` -> `axisName.rotate`
- `nameTextStyle` -> `axisName` root-level option
- `nameTruncate` -> `axisName` root-level option
- `nameTruncate.maxWidth` -> `axisName.width`
- `nameTruncate.ellipsis` -> `axisName.ellipsis`
- Add missing option `axisName.overflow`

### Related PRs

#19546

### Related issues

#19182

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.