From ef2dc2beeb5e2a7ca8e08bd0cfd956e3fbe85e1d Mon Sep 17 00:00:00 2001 From: Ovilia <zwl.sjtu@gmail.com> Date: Thu, 7 Nov 2024 17:28:00 +0800 Subject: [PATCH] doc(aria): update doc for apache/echarts#20218 --- en/option/component/aria.md | 6 +++++- zh/option/component/aria.md | 8 ++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/en/option/component/aria.md b/en/option/component/aria.md index 7a538927..87592dac 100644 --- a/en/option/component/aria.md +++ b/en/option/component/aria.md @@ -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) diff --git a/zh/option/component/aria.md b/zh/option/component/aria.md index c92ce3a3..abaf0d3e 100644 --- a/zh/option/component/aria.md +++ b/zh/option/component/aria.md @@ -68,7 +68,7 @@ option = { ### description(string) = null -默认采用算法自动生成图表描述,如果用户需要完全自定义,可以将这个值设为描述。如将其设置为 `'这是一个展示了价格走势的图表'`,则图表 DOM 元素的 `aria-label` 属性值即为该字符串。 +默认采用算法自动生成图表描述,如果用户需要完全自定义,可以将这个值设为描���。如将其设置为 `'这是一个展示了价格走势的图表'`,则图表 DOM 元素的 `aria-label` 属性值即为该字符串。 这一配置项常用于展示单个的数据并不能展示图表内容时,用户显示指定概括性描述图表的文字。例如图表是一个包含大量散点图的地图,默认的算法只能显示数据点的位置,不能从整体上传达作者的意图。这时候,可以将 `description` 指定为作者想表达的内容即可。 @@ -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)