Skip to content

Commit

Permalink
fix: add missing doc axis.nameTruncate. Close apache/echarts#16206
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovilia committed Jan 16, 2024
1 parent ececb97 commit 0d22eaa
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions en/option/component/axis-common.md
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,18 @@ Gap between axis name and axis line.

Rotation of axis name.

#${prefix} nameTruncate(Object)

Truncation of the axis name.

##${prefix} maxWidth(number)

The maximum length for the truncated text. Any text exceeding this length will be truncated.

##${prefix} ellipsis(string) = '...'

The content displayed at the end of the text after truncation.

#${prefix} inverse(boolean) = false

<ExampleUIControlBoolean />
Expand Down
12 changes: 12 additions & 0 deletions zh/option/component/axis-common.md
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,18 @@ splitLine: {

坐标轴名字旋转,角度值。

#${prefix} nameTruncate(Object)

坐标轴名字的截断。

##${prefix} maxWidth(number)

截断文本的最大长度,超过此长度会被截断。

##${prefix} ellipsis(string) = '...'

截断后文字末尾显示的内容。

#${prefix} inverse(boolean) = false

<ExampleUIControlBoolean />
Expand Down

0 comments on commit 0d22eaa

Please sign in to comment.