echarts icon indicating copy to clipboard operation
echarts copied to clipboard

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

Open plainheart opened this issue 9 months ago • 0 comments

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

plainheart avatar May 24 '25 19:05 plainheart