Skip to content

Commit

Permalink
doc(aria): update doc for apache/echarts#20218
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovilia committed Nov 7, 2024
1 parent 941fdea commit ef2dc2b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion en/option/component/aria.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,11 @@ This description is used if the data does not have the `name` attribute. This in

#### excludeDimensionId(Array)

The specified column indexes are excluded in the data in [aria.label](~aria.label)
{{ use: partial-version(
version = "5.5.2"
) }}

The specified column indexes are excluded in the data in [aria.label](~aria.label).

#### separator(Object)

Expand Down
8 changes: 6 additions & 2 deletions zh/option/component/aria.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ option = {

### description(string) = null

默认采用算法自动生成图表描述,如果用户需要完全自定义,可以将这个值设为描述。如将其设置为 `'这是一个展示了价格走势的图表'`,则图表 DOM 元素的 `aria-label` 属性值即为该字符串。
默认采用算法自动生成图表描述,如果用户需要完全自定义,可以将这个值设为描���。如将其设置为 `'这是一个展示了价格走势的图表'`,则图表 DOM 元素的 `aria-label` 属性值即为该字符串。

这一配置项常用于展示单个的数据并不能展示图表内容时,用户显示指定概括性描述图表的文字。例如图表是一个包含大量散点图的地图,默认的算法只能显示数据点的位置,不能从整体上传达作者的意图。这时候,可以将 `description` 指定为作者想表达的内容即可。

Expand Down Expand Up @@ -185,7 +185,11 @@ option = {

#### excludeDimensionId(Array)

The specified column indexes are excluded in the data in [aria.label](~aria.label)
{{ use: partial-version(
version = "5.5.2"
) }}

忽略 [aria.label](~aria.label) 下数据相应的维度。

#### separator(Object)

Expand Down

0 comments on commit ef2dc2b

Please sign in to comment.