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

susiwen8 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 83e3842f feat(piecewise): add `boolean` for `selectedMode` (#249)
83e3842f is described below

commit 83e3842f2537a0838af5c0e111391920122dae57
Author: susiwen8 <[email protected]>
AuthorDate: Wed May 4 13:14:51 2022 +0800

    feat(piecewise): add `boolean` for `selectedMode` (#249)
    
    * feat(piecewise): add `boolean` for `selectedMode`
    
    * feat(piecewise): add version
---
 en/option/component/visual-map-piecewise.md | 6 ++++--
 zh/option/component/visual-map-piecewise.md | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/en/option/component/visual-map-piecewise.md 
b/en/option/component/visual-map-piecewise.md
index 340ad902..5c8c156f 100644
--- a/en/option/component/visual-map-piecewise.md
+++ b/en/option/component/visual-map-piecewise.md
@@ -118,14 +118,16 @@ This option works when `type` is `piecewise` and 
`min`/`max`/`splitNumber` are s
 
 If it is set as `true`, an extra piece labeled with "> max" will show.
 
-## selectedMode(string) = 'multiple'
+## selectedMode(string|boolean) = 'multiple'
 
-<ExampleUIControlEnum options="single,multiple" />
+<ExampleUIControlEnum options="single,multiple,true,false" />
 
 Selected Mode could be:
 
 + `'multiple'` (multiple selection).
 + `'single'` (single selection).
++ `true` (single selection) since version `5.3.3`.
++ `false` (no selection) since version `5.3.3`.
 
 ## inverse(boolean) = false
 
diff --git a/zh/option/component/visual-map-piecewise.md 
b/zh/option/component/visual-map-piecewise.md
index 871d19c4..d478d292 100644
--- a/zh/option/component/visual-map-piecewise.md
+++ b/zh/option/component/visual-map-piecewise.md
@@ -131,14 +131,16 @@ series.data 的 `dataMin` 和 `dataMax`)。
 
 当 `type` 为 `piecewise` 且使用 `min`/`max`/`splitNumber` 时,此参数有效。当值为 `true` 
时,界面上会额外多出一个『> max』的选块。
 
-## selectedMode(string) = 'multiple'
+## selectedMode(string|boolean) = 'multiple'
 
-<ExampleUIControlEnum options="single,multiple" />
+<ExampleUIControlEnum options="single,multiple,true,false" />
 
 选择模式,可以是:
 
 + `'multiple'`(多选)。
 + `'single'`(单选)。
++ `true`(单选)从`5.3.3`版本支持。
++ `false`(禁止选择)从`5.3.3`版本支持。
 
 ## inverse(boolean) = false
 


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

Reply via email to