You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2020/08/28 04:43:42 UTC

[incubator-echarts-doc] branch 4.9.0 updated (45128f1 -> 24f333e)

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

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


    from 45128f1  fix: migrate changelog to branch 4.9.0
     new 9c12af6  add orient doc in funnel
     new 24f333e  add brushStyle in toolbox.feature.dataZoom

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 en/option/component/toolbox.md |  7 ++++++
 en/option/series/funnel.md     | 55 +++++++++++++++---------------------------
 zh/option/component/toolbox.md |  9 +++++++
 zh/option/series/bar.md        |  2 +-
 zh/option/series/funnel.md     | 54 ++++++++++++++---------------------------
 5 files changed, 54 insertions(+), 73 deletions(-)


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


[incubator-echarts-doc] 02/02: add brushStyle in toolbox.feature.dataZoom

Posted by sh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 24f333e3595597bd6c4b7889df95e86adece3f80
Author: pissang <bm...@gmail.com>
AuthorDate: Fri Aug 28 12:43:25 2020 +0800

    add brushStyle in toolbox.feature.dataZoom
---
 en/option/component/toolbox.md | 7 +++++++
 zh/option/component/toolbox.md | 9 +++++++++
 2 files changed, 16 insertions(+)

diff --git a/en/option/component/toolbox.md b/en/option/component/toolbox.md
index d70c23e..ee979e3 100644
--- a/en/option/component/toolbox.md
+++ b/en/option/component/toolbox.md
@@ -215,11 +215,18 @@ Zooming and restore icon path.
 {{ use: partial-icon-image-path }}
 ##### back(string)
 {{ use: partial-icon-image-path }}
+
 #### title(Object)
 Restored and zoomed title text.
 ##### zoom(string) = 'area zooming'
 ##### back(string) = 'restore area zooming'
 
+#### brushStyle(Object)
+Style of brush rectangle.
+{{ use: partial-item-style(
+    prefix="####"
+) }}
+
 
 ### magicType(Object)
 Magic type switching.
diff --git a/zh/option/component/toolbox.md b/zh/option/component/toolbox.md
index 80abbb9..76fa479 100644
--- a/zh/option/component/toolbox.md
+++ b/zh/option/component/toolbox.md
@@ -354,19 +354,28 @@ optionToContent: function(opt) {
 
 #### xAxisIndex(number|Array|boolean)
 指定哪些 [xAxis](~xAxis) 被控制。如果缺省则控制所有的x轴。如果设置为 `false` 则不控制任何x轴。如果设置成 `3` 则控制 axisIndex 为 `3` 的x轴。如果设置为 `[0, 3]` 则控制 axisIndex 为 `0` 和 `3` 的x轴。
+
 #### yAxisIndex(number|Array|boolean)
 指定哪些 [yAxis](~yAxis) 被控制。如果缺省则控制所有的y轴。如果设置为 `false` 则不控制任何y轴。如果设置成 `3` 则控制 axisIndex 为 `3` 的y轴。如果设置为 `[0, 3]` 则控制 axisIndex 为 `0` 和 `3` 的y轴。
+
 #### icon(Object)
 缩放和还原的 icon path。
 ##### zoom(string)
 {{ use: partial-icon-image-path }}
 ##### back(string)
 {{ use: partial-icon-image-path }}
+
 #### title(Object)
 缩放和还原的标题文本。
 ##### zoom(string) = '区域缩放'
 ##### back(string) = '区域缩放还原'
 
+#### brushStyle(Object)
+刷选框样式
+{{ use: partial-item-style(
+    prefix="####"
+) }}
+
 
 ### magicType(Object)
 动态类型切换


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


[incubator-echarts-doc] 01/02: add orient doc in funnel

Posted by sh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 9c12af66e7efa0309fc44ede0f278cecf67a11a2
Author: pissang <bm...@gmail.com>
AuthorDate: Fri Aug 28 12:38:24 2020 +0800

    add orient doc in funnel
---
 en/option/series/funnel.md | 55 ++++++++++++++++------------------------------
 zh/option/series/bar.md    |  2 +-
 zh/option/series/funnel.md | 54 +++++++++++++++------------------------------
 3 files changed, 38 insertions(+), 73 deletions(-)

diff --git a/en/option/series/funnel.md b/en/option/series/funnel.md
index 28d975d..376964d 100644
--- a/en/option/series/funnel.md
+++ b/en/option/series/funnel.md
@@ -30,6 +30,11 @@ The mapped width from maximum data value [max](~series-funnel.max).
 
 It can be absolute pixel and also the percentage of [layout width](~series-funnel.width).
 
+
+## orient(string) = 'vertical'
+
+Orient of funnel,Can be `'vertical'` or `'horizontal'`.
+
 ## sort(string|Function) = 'descending'
 Data sorting, which can be whether `'ascending'`, `'descending'`, `'none'`(in data order) or a function, which is the same as `Array.prototype.sort(function (a, b) { ... })`;
 
@@ -182,45 +187,23 @@ The label configuration of a single data item.
 Label position.
 
 **Options: **
-+ `'left'`
-
-    Left side of funnel chart. The corresponding trapezoid would be related to through [visual guide line](~series-funnel.labelLine).
-
-+ `'right'`
-
-   Right side of funnel chart. The corresponding trapezoid would be related to through [visual guide line](~series-funnel.labelLine).
-
-+ `'inside'`
-
-    Inside the trapezoid of funnel chart.
-
-+ `'insideRight'`
-
-    Right inside the trapezoid of funnel chart.
-
-+ `'insideLeft'`
-
-    Left inside the trapezoid of funnel chart.
-
-+ `'leftTop'`
-
-    Top-left of funnel chart.
-
-+ `'leftBottom'`
-
-    Bottom-left of funnel chart.
-
-+ `'rightTop'`
-
-    Top-right side of funnel chart.
-
-+ `'rightBottom'`
-
-    Bottom-right side of funnel chart.
-
++ `'left'`Left side of funnel chart. Available when [orient](~series-funnel.orient) is `'vertical'`.
++ `'right'` Right side of funnel chart. Available when [orient](~series-funnel.orient) is `'horizontal'`.
++ `'top'` Top side of funnel chart. Available when [orient](~series-funnel.orient) is `'vertical'`.
++ `'bottom'` Bottom side of funnel chart. Available when [orient](~series-funnel.orient) is `'vertical'`.
++ `'inside'`Inside the trapezoid of funnel chart.
++ `'insideRight'`Right inside the trapezoid of funnel chart.
++ `'insideLeft'`Left inside the trapezoid of funnel chart.
++ `'leftTop'`Top-left of funnel chart.
++ `'leftBottom'`Bottom-left of funnel chart.
++ `'rightTop'`Top-right side of funnel chart.
++ `'rightBottom'`Bottom-right side of funnel chart.
 + `'inner'` equals to `'inside'`.
 + `'center'` equals to `'inside'`.
 
+[labelLine](~series-funnel.labelLine) can be used to guide to the corresponding trapezoid when label is not inside.
+
+
 {{ /if }}
 {{ if: ${formatter} }}
 #${prefix} formatter(string|Function)
diff --git a/zh/option/series/bar.md b/zh/option/series/bar.md
index 543f9a5..338e05b 100644
--- a/zh/option/series/bar.md
+++ b/zh/option/series/bar.md
@@ -109,7 +109,7 @@ option = {
 
 仅对极坐标系柱状图有效。
 
-~[800x500](${galleryViewPath}doc-example/polar-roundCap&reset=1&edit=1)
+~[800x500](${galleryViewPath}polar-roundCap&reset=1&edit=1)
 
 ## label(Object)
 {{use:partial-label-desc}}
diff --git a/zh/option/series/funnel.md b/zh/option/series/funnel.md
index 66db66d..f357a9e 100644
--- a/zh/option/series/funnel.md
+++ b/zh/option/series/funnel.md
@@ -64,6 +64,10 @@ option = {
 
 可以是绝对的像素大小,也可以是相对[布局宽度](~series-funnel.width)的百分比。
 
+## orient(string) = 'vertical'
+
+漏斗图朝向,支持配置为`'vertical'`或者`'horizontal'`。
+
 ## sort(string|Function) = 'descending'
 
 <ExampleUIControlEnum options="none,descending,ascending" default="descending" />
@@ -232,45 +236,23 @@ option = {
 标签的位置。
 
 **可选:**
-+ `'left'`
-
-    漏斗图左侧,通过[视觉引导线](~series-funnel.labelLine)连到相应的梯形。
-
-+ `'right'`
-
-    漏斗图右侧,通过[视觉引导线](~series-funnel.labelLine)连到相应的梯形。
-
-+ `'inside'`
-
-    漏斗图梯形内部。
-
-+ `'insideRight'`
-
-    漏斗图梯形内部右侧。
-
-+ `'insideLeft'`
-
-    漏斗图梯形内部左侧。
-
-+ `'leftTop'`
-
-     漏斗图左侧上部。
-
- + `'leftBottom'`
-
-     漏斗图左侧下部。
-
- + `'rightTop'`
-
-     漏斗图右侧上部。
-
- + `'rightBottom'`
-
-     漏斗图右侧下部。
-
++ `'left'` 漏斗图左侧,[orient](~series-funnel.orient) 为`'vertical'`时有效。
++ `'right'` 漏斗图右侧,[orient](~series-funnel.orient) 为`'vertical'`时有效。
++ `'top'` 漏斗图上侧,[orient](~series-funnel.orient) 为`'horizontal'`时有效。
++ `'bottom'` 漏斗图下侧,[orient](~series-funnel.orient) 为`'horizontal'`时有效。
++ `'inside'` 漏斗图梯形内部。
++ `'insideRight'` 漏斗图梯形内部右侧。
++ `'insideLeft'` 漏斗图梯形内部左侧。
++ `'leftTop'` 漏斗图左侧上部。
++ `'leftBottom'`  漏斗图左侧下部。
++ `'rightTop'`  漏斗图右侧上部。
++ `'rightBottom'`  漏斗图右侧下部。
 + `'inner'` 同 `'inside'`。
 + `'center'` 同 `'inside'`。
 
+在不是配置为内部的时候标签可以通过[视觉引导线](~series-funnel.labelLine)连到相应的梯形。
+通过[视觉引导线](~series-funnel.labelLine)连到相应的梯形。
+
 {{ /if }}
 {{ if: ${formatter} }}
 #${prefix} formatter(string|Function)


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