diff --git a/en/option/component/x-axis.md b/en/option/component/x-axis.md index 3df7d353d..2d213a646 100644 --- a/en/option/component/x-axis.md +++ b/en/option/component/x-axis.md @@ -59,3 +59,4 @@ Notice: Set `xAxis.axisLine.onZero` to `false` to activate this option. componentName = "x axis", defaultZ = 0 ) }} + diff --git a/en/option/component/y-axis.md b/en/option/component/y-axis.md index 906774219..901237b36 100644 --- a/en/option/component/y-axis.md +++ b/en/option/component/y-axis.md @@ -59,3 +59,4 @@ Notice: Set `yAxis.axisLine.onZero` to `false` to activate this option. componentName = "y axis", defaultZ = 0 ) }} + diff --git a/en/option/partial/emphasis-common.md b/en/option/partial/emphasis-common.md index e4354aca2..a0fc17e19 100644 --- a/en/option/partial/emphasis-common.md +++ b/en/option/partial/emphasis-common.md @@ -45,6 +45,7 @@ When the data is highlighted, whether to fade out of other data to focus the hig + `'ancestor'` Focus on all ancestor nodes. + `'descendant'` Focus on all descendants nodes. {{ /if }} + {{ if: ${hasRelative} }} + `'relative'` Focus on all ancestor and descendants nodes. (Since `v${version}`) {{ /if }} diff --git a/en/option/partial/sector-border-radius.md b/en/option/partial/sector-border-radius.md index 8fac42140..110628981 100644 --- a/en/option/partial/sector-border-radius.md +++ b/en/option/partial/sector-border-radius.md @@ -1,3 +1,4 @@ + {{ target: partial-sector-border-radius }} #${prefix} borderRadius(number|string|Array) @@ -27,4 +28,5 @@ Since `v5.3.0`: + `borderRadius: '20%'`: means that both inner corner radius is `20%` of the inner radius and outer corner radius is `20%` of the outer radius. + `borderRadius: [10, 20]`: means that the inner corner radius is `10px` and the outer corner radius is `20px`. + `borderRadius: ['20%', '50%']`: means that the inner corner radius is `20%` of the difference between the inner sector and the outer sector, and the outer corner radius is `50%` of the difference. -+ `borderRadius: [5, 10, 15, 20]`: means the two inner corner radii are `5px` and `10px`, and the two outer corner radii are `15px` and `20px`. \ No newline at end of file ++ `borderRadius: [5, 10, 15, 20]`: means the two inner corner radii are `5px` and `10px`, and the two outer corner radii are `15px` and `20px`. + diff --git a/en/option/partial/selected-mode.md b/en/option/partial/selected-mode.md index 1c1317acb..dab0fdd54 100644 --- a/en/option/partial/selected-mode.md +++ b/en/option/partial/selected-mode.md @@ -16,3 +16,4 @@ Selected mode. It is enabled by default, and you may set it to be `false` to dis Besides, it can be set to `'single'`, `'multiple'` or `'series'`, for single selection, multiple selections and whole series selection. > `'series'` is supported since v5.3.0 + diff --git a/en/option/partial/zr-graphic.md b/en/option/partial/zr-graphic.md index d54b71b30..20098a745 100644 --- a/en/option/partial/zr-graphic.md +++ b/en/option/partial/zr-graphic.md @@ -1548,6 +1548,7 @@ Whether use progressive render to improve performance. Usually used when number {{ /if }} + {{ target: partial-graphic-cpt-style-prop-common }} More attributes in `style` (for example, [rich text](tutorial.html#Rich%20Text)), see the `style` related attributes in [zrender/graphic/Displayable](https://ecomfe.github.io/zrender-doc/public/api.html#zrenderdisplayable). diff --git a/en/option/series/bar.md b/en/option/series/bar.md index 338eb1bff..9523efdd5 100644 --- a/en/option/series/bar.md +++ b/en/option/series/bar.md @@ -445,3 +445,4 @@ Border type. Can be `'dashed'`, `'dotted'`. prefix = '#' + ${prefix} ) }} {{ /if }} + diff --git a/en/option/series/funnel.md b/en/option/series/funnel.md index 8275c99c8..9e2148545 100644 --- a/en/option/series/funnel.md +++ b/en/option/series/funnel.md @@ -24,19 +24,19 @@ -The specified minimum value. +The specified minimum value. Invalid if dynamicHeight is `true`. ## max(number) = 100 -The specified maximum value. +The specified maximum value. Invalid if dynamicHeight is `true`. ## minSize(number|string) = '0%' -The mapped width from minimum data value [min](~series-funnel.min). +The mapped width from minimum data value [min](~series-funnel.min). Invalid if dynamicHeight is `true`. It can be absolute pixel and also the percentage of [layout width](~series-funnel.width). If you don't want the graph of minimum value to be a triangle, you can set up this property larger than 0. @@ -44,7 +44,7 @@ It can be absolute pixel and also the percentage of [layout width](~series-funne -The mapped width from maximum data value [max](~series-funnel.max). +The mapped width from maximum data value [max](~series-funnel.max). Invalid if dynamicHeight is `true`. It can be absolute pixel and also the percentage of [layout width](~series-funnel.width). @@ -64,6 +64,18 @@ Orient of funnel,Can be `'vertical'` or `'horizontal'`. 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) { ... })`; +## exitShape(string) = 'none' + + + +Funnel exit shape, set it `'rect'` to flatten the top. + +## dynamicHeight(boolean) = 'false' + + + +Set to `true` so that the height of each funnel block in the funnel plot is proportional to the corresponding value in the dataset. + ## gap(number) = 0 diff --git a/en/option/series/gauge.md b/en/option/series/gauge.md index 0a0c1889e..f38ed9a8a 100644 --- a/en/option/series/gauge.md +++ b/en/option/series/gauge.md @@ -591,3 +591,4 @@ formatter: function (value) { return value.toFixed(0); } ``` + diff --git a/en/option/series/graph.md b/en/option/series/graph.md index 71f7ac6c4..5cb4b83e8 100644 --- a/en/option/series/graph.md +++ b/en/option/series/graph.md @@ -699,3 +699,4 @@ Label position, options: prefix = "####", defaultShow = true ) }} + diff --git a/en/option/series/line.md b/en/option/series/line.md index dd3904ed0..bf9625aeb 100644 --- a/en/option/series/line.md +++ b/en/option/series/line.md @@ -491,3 +491,4 @@ Select state of specified single data. prefix = "####", hasInherit = ${state} === 'emphasis' ) }} + diff --git a/en/option/series/map.md b/en/option/series/map.md index fb3d335f2..ad593cdd9 100644 --- a/en/option/series/map.md +++ b/en/option/series/map.md @@ -221,3 +221,4 @@ The color of the map area. {{ use: partial-label-line( prefix = '####' ) }} + diff --git a/en/option/series/sunburst.md b/en/option/series/sunburst.md index e4d73ecf7..f33ae6be2 100644 --- a/en/option/series/sunburst.md +++ b/en/option/series/sunburst.md @@ -106,6 +106,7 @@ You can specify the style of all sectors with [series.itemStyle](~series-sunburs ) }} + {{ target: partial-sunburst-state }} {{ use: partial-sunburst-label-props( diff --git a/en/option/series/tree.md b/en/option/series/tree.md index 9a40d2084..1765faa02 100644 --- a/en/option/series/tree.md +++ b/en/option/series/tree.md @@ -472,3 +472,4 @@ Defines the style of the tree edge. prefix = ${prefix}, state = ${state} ) }} + diff --git a/zh/option/component/x-axis.md b/zh/option/component/x-axis.md index 3704a4f07..30d846561 100644 --- a/zh/option/component/x-axis.md +++ b/zh/option/component/x-axis.md @@ -96,3 +96,4 @@ X 轴相对于默认位置的偏移,在相同的 `position` 上有多个 X 轴 componentName = "X 轴", defaultZ = 0 ) }} + diff --git a/zh/option/component/y-axis.md b/zh/option/component/y-axis.md index 3530f2b6b..717cea2e7 100644 --- a/zh/option/component/y-axis.md +++ b/zh/option/component/y-axis.md @@ -142,3 +142,4 @@ Y 轴相对于默认位置的偏移,在相同的 `position` 上有多个 Y 轴 componentName = "Y 轴", defaultZ = 0 ) }} + diff --git a/zh/option/partial/axisPointer-common.md b/zh/option/partial/axisPointer-common.md index 8092e91a3..80bd06550 100644 --- a/zh/option/partial/axisPointer-common.md +++ b/zh/option/partial/axisPointer-common.md @@ -68,7 +68,6 @@ axisPointer 的 label 默认不显示(也就是默认只显示指示线), - {{ target: partial-axisPointer-common }} #${prefix} show(boolean) = false diff --git a/zh/option/partial/emphasis-common.md b/zh/option/partial/emphasis-common.md index ba6fe5b14..4603501f2 100644 --- a/zh/option/partial/emphasis-common.md +++ b/zh/option/partial/emphasis-common.md @@ -45,6 +45,7 @@ + `'ancestor'` 聚焦所有祖先节点 + `'descendant'` 聚焦所有子孙节点 {{ /if }} + {{ if: ${hasRelative} }} + `'relative'` 聚焦所有子孙和祖先节点(从 `v${version}`开始支持) {{ /if }} diff --git a/zh/option/partial/sector-border-radius.md b/zh/option/partial/sector-border-radius.md index b5128ceb5..3696920bc 100644 --- a/zh/option/partial/sector-border-radius.md +++ b/zh/option/partial/sector-border-radius.md @@ -1,3 +1,4 @@ + {{ target: partial-sector-border-radius }} #${prefix} borderRadius(number|string|Array) diff --git a/zh/option/partial/zr-graphic.md b/zh/option/partial/zr-graphic.md index a0fce1a05..d3f679226 100644 --- a/zh/option/partial/zr-graphic.md +++ b/zh/option/partial/zr-graphic.md @@ -1165,7 +1165,6 @@ Transform 相关的属性:`'x'`、 `'y'`、`'scaleX'`、`'scaleY'`、`'rotatio prefix = ${prefix} ) }} - ##${prefix} updateAnimation(Object) 更新属性的动画配置。 @@ -1251,7 +1250,6 @@ interface Keyframe { 是否开启形变动画。 开启 [universalTransition](~series-custom.universalTransition) 后如果前后两次更新图形类型不一样,比如从`rect`变为了`circle`,会通过形变动画过渡。如果想要关闭可以设置该属性为`false`。 - {{ /if }} {{ if: ${usageType} === 'graphicComponent' }} @@ -1530,6 +1528,7 @@ Position of `textContent`. {{ /if }} + {{ target: partial-graphic-cpt-style-prop-common }} 注:关于图形元素中更多的样式设置(例如 [富文本标签](tutorial.html#%E5%AF%8C%E6%96%87%E6%9C%AC%E6%A0%87%E7%AD%BE)),参见 [zrender/graphic/Displayable](https://ecomfe.github.io/zrender-doc/public/api.html#zrenderdisplayable) 中的 style 相关属性。 @@ -1654,6 +1653,8 @@ Position of `textContent`. } ``` + + {{ target: partial-graphic-cpt-animation }} ###${prefix} duration(number) @@ -1668,6 +1669,8 @@ Position of `textContent`. 动画延迟时长,单位 ms + + {{ target: partial-graphic-cpt-sub-prop-xy }} ###${prefix} x(number) = 0 @@ -1830,6 +1833,7 @@ Position of `textContent`. 元素旋转和缩放原点的 y 像素位置。 + {{ target: partial-graphic-cpt-focus-blur }} ##${prefix} focus(string) = 'none' diff --git a/zh/option/series/bar.md b/zh/option/series/bar.md index d850e2a97..4f27d3ced 100644 --- a/zh/option/series/bar.md +++ b/zh/option/series/bar.md @@ -513,3 +513,4 @@ option = { prefix = '#' + ${prefix} ) }} {{ /if }} + diff --git a/zh/option/series/funnel.md b/zh/option/series/funnel.md index 039846869..cdf02f133 100644 --- a/zh/option/series/funnel.md +++ b/zh/option/series/funnel.md @@ -46,19 +46,19 @@ option = { -指定的数据最小值。 +指定的数据最小值。dynamicHeight为`true`时无效。 ## max(number) = 100 -指定的数据最大值。 +指定的数据最大值。dynamicHeight为`true`时无效。 ## minSize(number|string) = '0%' -数据最小值 [min](~series-funnel.min) 映射的宽度。 +数据最小值 [min](~series-funnel.min) 映射的宽度。dynamicHeight为`true`时无效。 可以是绝对的像素大小,也可以是相对[布局宽度](~series-funnel.width)的百分比,如果需要最小值的图形并不是尖端三角,可通过设置该属性实现。 @@ -66,7 +66,7 @@ option = { -数据最大值 [max](~series-funnel.max) 映射的宽度。 +数据最大值 [max](~series-funnel.max) 映射的宽度。dynamicHeight为`true`时无效。 可以是绝对的像素大小,也可以是相对[布局宽度](~series-funnel.width)的百分比。 @@ -86,6 +86,18 @@ option = { 数据排序, 可以取 `'ascending'`,`'descending'`,`'none'`(表示按 data 顺序),或者一个函数(即 `Array.prototype.sort(function (a, b) { ... })`)。 +## exitShape(string) = 'none' + + + +漏斗出口形状, 设为 `'rect'` 来展平顶部。 + +## dynamicHeight(boolean) = 'false' + + + +设置为`true`使得漏斗图每个漏斗块的高度和数据集对应数值成正比。 + ## gap(number) = 0 diff --git a/zh/option/series/gauge.md b/zh/option/series/gauge.md index 6897d634d..702723cb2 100644 --- a/zh/option/series/gauge.md +++ b/zh/option/series/gauge.md @@ -604,3 +604,4 @@ formatter: function (value) { return value.toFixed(0); } ``` + diff --git a/zh/option/series/graph.md b/zh/option/series/graph.md index 9848dba0c..7fde5e43c 100644 --- a/zh/option/series/graph.md +++ b/zh/option/series/graph.md @@ -707,3 +707,4 @@ links: [{ prefix = "####", defaultShow = true ) }} + diff --git a/zh/option/series/line.md b/zh/option/series/line.md index 430493e81..dba5f6452 100644 --- a/zh/option/series/line.md +++ b/zh/option/series/line.md @@ -520,3 +520,4 @@ const option = { prefix = "####", hasInherit = ${state} === 'emphasis' ) }} + diff --git a/zh/option/series/map.md b/zh/option/series/map.md index 02ef3ce61..69e0efc04 100644 --- a/zh/option/series/map.md +++ b/zh/option/series/map.md @@ -218,3 +218,4 @@ center: [115.97, '30%'] {{ use: partial-label-line( prefix = '####' ) }} + diff --git a/zh/option/series/sunburst.md b/zh/option/series/sunburst.md index 3909a8b8e..7bb51b136 100644 --- a/zh/option/series/sunburst.md +++ b/zh/option/series/sunburst.md @@ -102,6 +102,7 @@ ) }} + {{ target: partial-sunburst-state }} {{ use: partial-sunburst-label-props( diff --git a/zh/option/series/tree.md b/zh/option/series/tree.md index a91f3c02f..48e2c96e8 100644 --- a/zh/option/series/tree.md +++ b/zh/option/series/tree.md @@ -92,7 +92,6 @@ center: [115.97, '30%'] 当前视角的缩放比例。 - ## layout(string) = 'orthogonal' @@ -515,3 +514,4 @@ center: [115.97, '30%'] prefix = ${prefix}, state = ${state} ) }} +