This is an automated email from the ASF dual-hosted git repository.

sushuang pushed a commit to branch next
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git

commit 14bfdfdabfb3afddcc321aea20b45aa745e129e3
Author: 100pah <sushuang0...@gmail.com>
AuthorDate: Tue Aug 18 13:56:37 2020 +0800

    tweak series.dimensions desc.
---
 en/option/partial/encode-dimensions.md | 2 +-
 zh/option/partial/encode-dimensions.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/en/option/partial/encode-dimensions.md 
b/en/option/partial/encode-dimensions.md
index b3abea7..9a7cec9 100644
--- a/en/option/partial/encode-dimensions.md
+++ b/en/option/partial/encode-dimensions.md
@@ -139,7 +139,7 @@ var option = {
 
 `dimensions` can be used to define dimension info for `series.data` or 
`dataset.source`.
 
-Notice: if [dataset](~dataset) is used, we can provide dimension names in the 
first column/row of [dataset.source](~dataset.source), and not need to specify 
`dimensions` here. But if `dimensions` is specified here, echarts will not 
retrieve dimension names from the first row/column of `dataset.source` any more.
+Notice: if [dataset](~dataset) is used, we can definite dimensions in 
[dataset.dimensions](~dataset.dimensions), or provide dimension names in the 
first column/row of [dataset.source](~dataset.source), and not need to specify 
`dimensions` here. But if `dimensions` is specified here, it will be used 
despite the dimension definitions in dataset.
 
 
 For example:
diff --git a/zh/option/partial/encode-dimensions.md 
b/zh/option/partial/encode-dimensions.md
index 56ce435..50a895a 100644
--- a/zh/option/partial/encode-dimensions.md
+++ b/zh/option/partial/encode-dimensions.md
@@ -136,7 +136,7 @@ var option = {
 
 使用 dimensions 定义 `series.data` 或者 `dataset.source` 的每个维度的信息。
 
-注意:如果使用了 [dataset](~dataset),那么可以在 [dataset.source](~dataset.source) 的第一行/列中给出 
dimension 名称。于是就不用在这里指定 dimension。但是,如果在这里指定了 `dimensions`,那么 ECharts 不再会自动从 
`dataset.source` 的第一行/列中获取维度信息。
+注意:如果使用了 [dataset](~dataset),那么可以在 [dataset.dimensions](~dataset.dimensions) 
中定义 dimension ,或者在 [dataset.source](~dataset.source) 的第一行/列中给出 dimension 
名称。于是就不用在这里指定 dimension。但如果在这里指定了 `dimensions`,那么优先使用这里的。
 
 例如:
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to