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

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


The following commit(s) were added to refs/heads/master by this push:
     new 1a25600  fix: typo
     new 9b6726d  Merge pull request #167 from edtam/patch-1
1a25600 is described below

commit 1a256007ab0140a4edf600686d056d9c27bd2721
Author: edtam <[email protected]>
AuthorDate: Mon Feb 15 12:44:13 2021 +0800

    fix: typo
---
 zh/tutorial/data-transform.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/zh/tutorial/data-transform.md b/zh/tutorial/data-transform.md
index 14a57c0..5865a04 100644
--- a/zh/tutorial/data-transform.md
+++ b/zh/tutorial/data-transform.md
@@ -284,7 +284,7 @@ option = {
 
 关系操作符,可以设定这些:
 
`>`(`gt`)、`>=`(`gte`)、`<`(`lt`)、`<=`(`lte`)、`=`(`eq`)、`!=`(`ne`、`<>`)、`reg`。(小括号中的符号或名字,是别名,设置起来作用相同)。他们首先基本地能基于数值大小进行比较,然后也有些额外的功能特性:
-+ 多个关系操作符能声明在一个 {} 中,例如 `{ dimension: 'Price', '>=': 20, '<': 30 
}`。这表示“与”的关系,即,筛选出价格大于等于 20 小雨 30 的数据项。
++ 多个关系操作符能声明在一个 {} 中,例如 `{ dimension: 'Price', '>=': 20, '<': 30 
}`。这表示“与”的关系,即,筛选出价格大于等于 20 小于 30 的数据项。
 + data 里的值,不仅可以是数值( number ),也可以是“类数值的字符串”(“ numeric string 
”)。“类数值的字符串”本身是一个字符串,但是可以被转换为字面所描述的数值,例如 `' 123 '`。转换过程中,空格(全角半角空格)和换行符都能被消除( 
trim )。
 + 如果我们需要对日期对象(JS `Date`)或者日期字符串(如 '2012-05-12')进行比较,我们需要手动指定 `parser: 
'time'`,例如 `config: { dimension: 3, lt: '2012-05-12', parser: 'time' }`。
 + 纯字符串比较也被支持,但是只能用在 `=` 或 `!=` 上。而 `>`, `>=`, `<`, `<=` 
并不支持纯字符串比较,也就是说,这四个操作符的右值,不能是字符串。


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

Reply via email to