You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2020/11/21 07:23:58 UTC

[incubator-echarts-handbook] branch master updated: tweak doc of data-transform.

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 0313f3c  tweak doc of data-transform.
0313f3c is described below

commit 0313f3cec251c99cabb87249461341666cc1e3a4
Author: 100pah <su...@gmail.com>
AuthorDate: Sat Nov 21 15:23:42 2020 +0800

    tweak doc of data-transform.
---
 contents/en/concepts/data-transform.md |  1 +
 contents/zh/concepts/data-transform.md | 15 ++++++++-------
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/contents/en/concepts/data-transform.md b/contents/en/concepts/data-transform.md
index 2311e39..c8368c9 100644
--- a/contents/en/concepts/data-transform.md
+++ b/contents/en/concepts/data-transform.md
@@ -574,6 +574,7 @@ option = {
 
 Examples with echarts-stat:
 
++ [Aggregate](${exampleEditorPath}data-transform-aggregate&edit=1&reset=1)
 + [Bar histogram](${exampleEditorPath}bar-histogram&edit=1&reset=1)
 + [Scatter clustering](${exampleEditorPath}scatter-clustering&edit=1&reset=1)
 + [Scatter linear regression](${exampleEditorPath}scatter-linear-regression&edit=1&reset=1)
diff --git a/contents/zh/concepts/data-transform.md b/contents/zh/concepts/data-transform.md
index 0e632cb..46db263 100644
--- a/contents/zh/concepts/data-transform.md
+++ b/contents/zh/concepts/data-transform.md
@@ -1,6 +1,6 @@
 # 使用 transform 进行数据转换
 
-Apache ECharts (incubating)<sup>TM</sup> 5 开始支持了“数据转换”( data transform )功能。在 echarts 中,“数据转换” 这个词指的是,给定一个已有的“数据集”([dataset](${optionPath}#dataset))和一个“转换方法”([transform](${optionPath}#dataset.transform),echarts 能生成一个新的“数据集”,然后可以使用这个新的“数据集”绘制图表。这些工作都可以声明式地完成。
+Apache ECharts (incubating)<sup>TM</sup> 5 开始支持了“数据转换”( data transform )功能。在 echarts 中,“数据转换” 这个词指的是,给定一个已有的“数据集”([dataset](${optionPath}#dataset))和一个“转换方法”([transform](${optionPath}#dataset.transform)),echarts 能生成一个新的“数据集”,然后可以使用这个新的“数据集”绘制图表。这些工作都可以声明式地完成。
 
 抽象地来说,数据转换是这样一种公式:`outData = f(inputData)`。`f` 是转换方法,例如:`filter`、`sort`、`regression`、`boxplot`、`cluster`、`aggregate`(todo) 等等。有了数据转换能力后,我们就至少可以做到这些事情:
 + 把数据分成多份用不同的饼图展现。
@@ -563,10 +563,11 @@ option = {
 
 一些使用 echarts-stat 的例子:
 
-+ [直方图](${exampleEditorPath}bar-histogram&edit=1&reset=1)
-+ [简单聚类](${exampleEditorPath}scatter-clustering&edit=1&reset=1)
-+ [线性回归线](${exampleEditorPath}scatter-linear-regression&edit=1&reset=1)
-+ [指数回归线](${exampleEditorPath}scatter-exponential-regression&edit=1&reset=1)
-+ [对数回归线](${exampleEditorPath}scatter-logarithmic-regression&edit=1&reset=1)
-+ [多项式回归线](${exampleEditorPath}scatter-polynomial-regression&edit=1&reset=1)
++ [聚集 (Aggregate)](${exampleEditorPath}data-transform-aggregate&edit=1&reset=1)
++ [直方图 (Histogram)](${exampleEditorPath}bar-histogram&edit=1&reset=1)
++ [简单聚类 (Clustering)](${exampleEditorPath}scatter-clustering&edit=1&reset=1)
++ [线性回归线 (Linear Regression)](${exampleEditorPath}scatter-linear-regression&edit=1&reset=1)
++ [指数回归线 (Exponential Regression)](${exampleEditorPath}scatter-exponential-regression&edit=1&reset=1)
++ [对数回归线 (Logarithmic Regression)](${exampleEditorPath}scatter-logarithmic-regression&edit=1&reset=1)
++ [多项式回归线 (Polynomial Regression)](${exampleEditorPath}scatter-polynomial-regression&edit=1&reset=1)
 


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