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

wangzx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-handbook.git


The following commit(s) were added to refs/heads/master by this push:
     new cfe99ea  update zh/concepts/dataset.md (#116)
cfe99ea is described below

commit cfe99ea084699ce4c89a85d5801a0806f2982217
Author: Zhongxiang Wang <[email protected]>
AuthorDate: Thu Jul 11 14:04:42 2024 +0800

    update zh/concepts/dataset.md (#116)
---
 contents/zh/concepts/dataset.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contents/zh/concepts/dataset.md b/contents/zh/concepts/dataset.md
index a38ad76..2ad0c41 100644
--- a/contents/zh/concepts/dataset.md
+++ b/contents/zh/concepts/dataset.md
@@ -153,7 +153,7 @@ option = {
 
 
常用图表所描述的数据大部分是“二维表”结构,上述的例子中,我们都使用二维数组来容纳二维表。现在,当我们把系列(series)对应到“列”的时候,那么每一列就称为一个“维度(dimension)”,而每一行称为数据项(item)。反之,如果我们把系列(series)对应到表行,那么每一行就是“维度(dimension)”,每一列就是数据项(item)。
 
-维度可以有单独的名字,便于在图表中显示。维度名(dimension name)可以在定义在 dataset 
的第一行(或者第一列)。例如上面的例子中,`'score'`、`'amount'`、`'product'` 
就是维度名。从第二行开始,才是正式的数据。`dataset.source` 中第一行(列)到底包含不包含维度名,ECharts 默认会自动探测。当然也可以设置 
`dataset.sourceHeader: true` 显示声明第一行(列)就是维度,或者 `dataset.sourceHeader: false` 
表明第一行(列)开始就直接是数据。
+维度可以有单独的名字,便于在图表中显示。维度名(dimension name)可以在定义在 dataset 
的第一行(或者第一列)。例如下面的[例子](#数据到图形的映射(series.encode))中,`'score'`、`'amount'`、`'product'`
 就是维度名。从第二行开始,才是正式的数据。`dataset.source` 中第一行(列)到底包含不包含维度名,ECharts 
默认会自动探测。当然也可以设置 `dataset.sourceHeader: true` 显示声明第一行(列)就是维度,或者 
`dataset.sourceHeader: false` 表明第一行(列)开始就直接是数据。
 
 维度的定义,也可以使用单独的 `dataset.dimensions` 或者 `series.dimensions` 
来定义,这样可以同时指定维度名,和维度的类型(dimension type):
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to