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 2021/09/01 07:26:26 UTC

[echarts-doc] branch master updated: en add translation for inherit color

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 ddb6228  en add translation for inherit color
ddb6228 is described below

commit ddb6228120985c02d8dfbc2dd057f6084cee3fe4
Author: pissang <bm...@gmail.com>
AuthorDate: Wed Sep 1 15:24:12 2021 +0800

    en add translation for inherit color
---
 en/option/option.md              | 38 +++++++++++++++++++++++++++
 en/option/partial/area-style.md  |  2 +-
 en/option/partial/color-desc.md  | 37 +-------------------------
 en/option/partial/colorBy.md     |  6 ++++-
 en/option/partial/item-style.md  |  2 +-
 en/option/partial/line-style.md  |  2 +-
 en/option/series/bar.md          | 32 +++++++++++++---------
 en/option/series/boxplot.md      |  4 ++-
 en/option/series/funnel.md       | 25 ++++++++++++------
 en/option/series/gauge.md        |  7 +++--
 en/option/series/graph.md        | 57 +++++++++++++++++++++++++++++-----------
 en/option/series/heatmap.md      | 15 +++++++----
 en/option/series/line.md         | 33 ++++++++++++++++-------
 en/option/series/lines.md        | 21 ++++++++++-----
 en/option/series/map.md          | 11 +++++---
 en/option/series/pictorialBar.md | 21 ++++++++++-----
 en/option/series/pie.md          | 25 ++++++++++++------
 en/option/series/radar.md        | 28 +++++++++++++-------
 en/option/series/sankey.md       | 39 ++++++++++++++++++---------
 en/option/series/scatter.md      | 20 +++++++++-----
 en/option/series/sunburst.md     | 50 +++++++++++++++++++++--------------
 en/option/series/themeRiver.md   | 16 +++++++----
 en/option/series/tree.md         | 39 ++++++++++++++++++---------
 en/option/series/treemap.md      |  1 +
 24 files changed, 346 insertions(+), 185 deletions(-)

diff --git a/en/option/option.md b/en/option/option.md
index e8ddad5..6ecff7e 100644
--- a/en/option/option.md
+++ b/en/option/option.md
@@ -140,3 +140,41 @@ That is the radio of `width / height`. The value can be like `1.3`.
 ## option(Object)
 
 Each item of this array is an echarts option (`ECUnitOption`). It will be applied when this query is matched.
+
+Color can be represented in RGB, for example `'rgb(128, 128, 128)'`. RGBA can be used when you need alpha channel, for example `'rgba(128, 128, 128, 0.5)'`. You may also use hexadecimal format, for example `'#ccc'`. Gradient color and texture are also supported besides single colors.
+
+```js
+// Linear gradient. First four parameters are x0, y0, x2, and y2, each ranged from 0 to 1, standing for percentage in the bounding box. If global is `true`, then the first four parameters are in absolute pixel positions.
+color: {
+    type: 'linear',
+    x: 0,
+    y: 0,
+    x2: 0,
+    y2: 1,
+    colorStops: [{
+        offset: 0, color: 'red' // color at 0% position
+    }, {
+        offset: 1, color: 'blue' // color at 100% position
+    }],
+    global: false // false by default
+}
+// Radial gradient. First three parameters are x and y positions of center, and radius, similar to linear gradient.
+color: {
+    type: 'radial',
+    x: 0.5,
+    y: 0.5,
+    r: 0.5,
+    colorStops: [{
+        offset: 0, color: 'red' // color at 0% position
+    }, {
+        offset: 1, color: 'blue' // color at 100% position
+    }],
+    global: false // false by default
+}
+// Fill with texture
+color: {
+    image: imageDom, // HTMLImageElement, and HTMLCanvasElement are supported, while string path is not supported
+    repeat: 'repeat' // whether to repeat texture, whose value can be repeat-x, repeat-y, or no-repeat
+}
+```
+
diff --git a/en/option/partial/area-style.md b/en/option/partial/area-style.md
index 5187379..4c2e717 100644
--- a/en/option/partial/area-style.md
+++ b/en/option/partial/area-style.md
@@ -5,7 +5,7 @@
 
 <ExampleUIControlColor />
 
-Fill color. {{ if: ${useColorPalatte} }} Color is taken from [option.color Palette](~color) by default. {{ /if }}
+Fill color. {{ if: ${useColorPalatte} }}Color is taken from [option.color Palette](~color) by default. {{ /if }}{{ if: ${hasInherit} }}Can set to `'inherit'` in the `emphasis` state to disable color highlight.{{ /if }}
 
 {{ use: partial-color-desc() }}
 
diff --git a/en/option/partial/color-desc.md b/en/option/partial/color-desc.md
index 3dd9bac..533986c 100644
--- a/en/option/partial/color-desc.md
+++ b/en/option/partial/color-desc.md
@@ -1,39 +1,4 @@
 
 {{ target: partial-color-desc }}
 
-> Color can be represented in RGB, for example `'rgb(128, 128, 128)'`. RGBA can be used when you need alpha channel, for example `'rgba(128, 128, 128, 0.5)'`. You may also use hexadecimal format, for example `'#ccc'`. Gradient color and texture are also supported besides single colors.
-> ```js
-> // Linear gradient. First four parameters are x0, y0, x2, and y2, each ranged from 0 to 1, standing for percentage in the bounding box. If global is `true`, then the first four parameters are in absolute pixel positions.
-> color: {
->     type: 'linear',
->     x: 0,
->     y: 0,
->     x2: 0,
->     y2: 1,
->     colorStops: [{
->         offset: 0, color: 'red' // color at 0% position
->     }, {
->         offset: 1, color: 'blue' // color at 100% position
->     }],
->     global: false // false by default
-> }
-> // Radial gradient. First three parameters are x and y positions of center, and radius, similar to linear gradient.
-> color: {
->     type: 'radial',
->     x: 0.5,
->     y: 0.5,
->     r: 0.5,
->     colorStops: [{
->         offset: 0, color: 'red' // color at 0% position
->     }, {
->         offset: 1, color: 'blue' // color at 100% position
->     }],
->     global: false // false by default
-> }
-> // Fill with texture
-> color: {
->     image: imageDom, // HTMLImageElement, and HTMLCanvasElement are supported, while string path is not supported
->     repeat: 'repeat' // whether to repeat texture, whose value can be repeat-x, repeat-y, or no-repeat
-> }
-> ```
-
+> Supports setting as solid color using `rgb(255,255,255)`, `rgba(255,255,255,1)`, `#fff`, etc. Also supports setting as gradient color and pattern fill, see [option.color](~color) for details
\ No newline at end of file
diff --git a/en/option/partial/colorBy.md b/en/option/partial/colorBy.md
index ce61940..865c246 100644
--- a/en/option/partial/colorBy.md
+++ b/en/option/partial/colorBy.md
@@ -1,10 +1,14 @@
+
 {{ target: partial-colorby }}
 
 ## colorBy(string) = ${defaultColorBy|default("'series'")}
 
-{{ use: partial-version(version = '5.2.0') }}
+{{ use: partial-version(
+    version = '5.2.0'
+) }}
 
 The policy to take color from [option.color](~color). Valid values:
 
 + `'series'`: assigns the colors in the palette by series, so that all data in the same series are in the same color;
 + `'data'`: assigns colors in the palette according to data items, with each data item using a different color.
+
diff --git a/en/option/partial/item-style.md b/en/option/partial/item-style.md
index 2799d7d..c9220a3 100644
--- a/en/option/partial/item-style.md
+++ b/en/option/partial/item-style.md
@@ -11,7 +11,7 @@ Graphic style of ${name}, `emphasis` is the style when it is highlighted, like b
 
 <ExampleUIControlColor />
 
-${name} color. {{ if: ${useColorPalatte} }} Color is taken from [option.color Palette](~color) by default. {{ /if }}
+${name} color. {{ if: ${useColorPalatte} }}Color is taken from [option.color Palette](~color) by default. {{ /if }}{{ if: ${hasInherit} }}Can set to `'inherit'` in the `emphasis` state to disable color highlight.{{ /if }}
 
 {{ use: partial-color-desc() }}
 
diff --git a/en/option/partial/line-style.md b/en/option/partial/line-style.md
index e186221..4049563 100644
--- a/en/option/partial/line-style.md
+++ b/en/option/partial/line-style.md
@@ -5,7 +5,7 @@
 
 <ExampleUIControlColor />
 
-${name}Line color. {{ if: ${useColorPalatte} }} Color is taken from [option.color Palette](~color) by default. {{ /if }}
+${name}Line color. {{ if: ${useColorPalatte} }}Color is taken from [option.color Palette](~color) by default. {{ /if }}{{ if: ${hasInherit} }}Can set to `'inherit'` in the `emphasis` state to disable color highlight.{{ /if }}
 
 {{ if: ${hasCallback} }}
 Supports callback functions, in the form of:
diff --git a/en/option/series/bar.md b/en/option/series/bar.md
index c2b04cd..4fb7bc3 100644
--- a/en/option/series/bar.md
+++ b/en/option/series/bar.md
@@ -73,7 +73,7 @@ Background style of each bar if [showBackground](~series-bar.showBackground) is
 {{ use: partial-bar-state(
     prefix = "#",
     topLevel = true,
-    isNormal = true
+    state = 'normal'
 ) }}
 
 ## labelLayout(Object|Function)
@@ -91,7 +91,7 @@ Configurations of emphasis state.
 {{ use: partial-bar-state(
     prefix = "##",
     topLevel = true,
-    isNormal = false
+    state = 'emphasis'
 ) }}
 
 ## blur(Object)
@@ -101,7 +101,7 @@ Configurations of blur state. Available when [emphasis.focus](~series-bar.emphas
 {{ use: partial-bar-state(
     prefix = "##",
     topLevel = true,
-    isNormal = false
+    state = 'blur'
 ) }}
 
 ## select(Object)
@@ -111,7 +111,7 @@ Configurations of select state. Available when [selectedMode](~series-bar.select
 {{ use: partial-bar-state(
     prefix = "##",
     topLevel = true,
-    isNormal = false
+    state = 'select'
 ) }}
 
 {{ use: partial-selected-mode(
@@ -184,7 +184,7 @@ The value of a single data item.
 {{ use: partial-bar-state(
     prefix = "##",
     topLevel = false,
-    isNormal = true
+    state = 'normal'
 ) }}
 
 ### emphasis(Object)
@@ -194,7 +194,7 @@ Emphasis state of single data.
 {{ use: partial-bar-state(
     prefix = "###",
     topLevel = false,
-    isNormal = false
+    state = 'emphasis'
 ) }}
 
 ### blur(Object)
@@ -208,7 +208,7 @@ Blur state of single data.
 {{ use: partial-bar-state(
     prefix = "###",
     topLevel = false,
-    isNormal = false
+    state = 'blur'
 ) }}
 
 ### select(Object)
@@ -222,7 +222,7 @@ Select state of single data.
 {{ use: partial-bar-state(
     prefix = "###",
     topLevel = false,
-    isNormal = false
+    state = 'select'
 ) }}
 
 {{ use: partial-clip(
@@ -270,6 +270,7 @@ Label style configurations of single data.
 ##${prefix} position(string|Array) = 'inside'
 
 <ExampleUIControlEnum options="top,left,right,bottom,inside,insideLeft,insideRight,insideTop,insideBottom,insideTopLeft,insideBottomLeft,insideTopRight,insideBottomRight,outside" />
+
 Label position.
 
 **Followings are the options: **
@@ -303,7 +304,9 @@ See: [label position](${galleryViewPath}doc-example/label-position).
 
 + Additional positions are supported for bar series under polar coordinates: `start` / `insideStart` / `middle` / `insideEnd` / `end`.
 
-{{ use: partial-version(version = '5.2.0') }}
+{{ use: partial-version(
+    version = '5.2.0'
+) }}
 
 ~[800x500](${galleryViewPath}doc-example/bar-polar-label-radial-multiple&reset=1&edit=1)
 
@@ -339,9 +342,10 @@ Rectangle style configurations of single data.
 
 {{ use: partial-bar-item-style(
     prefix = "#" + ${prefix},
-    useColorPalatte = ${topLevel && isNormal},
-    useDecal = ${isNormal},
-    hasCallback = ${topLevel && isNormal}
+    useColorPalatte = ${topLevel} && ${state} === 'normal',
+    useDecal = ${state} === 'normal',
+    hasCallback = ${topLevel} && ${state} === 'normal',
+    hasInherit = ${state} === 'emphasis'
 ) }}
 
 
@@ -352,7 +356,9 @@ Rectangle style configurations of single data.
 
 <ExampleUIControlColor />
 
-Bar color. {{ if: ${useColorPalatte} }} By default, colors from global palette [option.color](~color) is used. {{ /if }}
+Bar color. {{ if: ${useColorPalatte} }}By default, colors from global palette [option.color](~color) is used.{{ /if }}{{ if: ${hasInherit} }}Can set to `'inherit'` in the `emphasis` state to disable color highlight.{{ /if }}
+
+{{ use: partial-color-desc() }}
 
 #${prefix} borderColor(Color) = '#000'
 
diff --git a/en/option/series/boxplot.md b/en/option/series/boxplot.md
index 798044d..3c6195f 100644
--- a/en/option/series/boxplot.md
+++ b/en/option/series/boxplot.md
@@ -84,6 +84,7 @@ Configurations of emphasis state.
 {{ use: partial-item-style(
     prefix = "###",
     name = "boxplot",
+    hasInherit = true,
     defaultColor = "#fff",
     defaultBorderWidth = 2,
     defaultShadowBlur = 5,
@@ -201,7 +202,8 @@ Emphasis state of a single data.
 
 {{ use: partial-item-style(
     prefix = "####",
-    name = "boxplot"
+    name = "boxplot",
+    hasInherit = true
 ) }}
 
 ### blur(Object)
diff --git a/en/option/series/funnel.md b/en/option/series/funnel.md
index 8c17eee..08af576 100644
--- a/en/option/series/funnel.md
+++ b/en/option/series/funnel.md
@@ -16,7 +16,9 @@
 
 {{ use: partial-series-name() }}
 
-{{ use: partial-colorby(defaultColorBy="'data'") }}
+{{ use: partial-colorby(
+    defaultColorBy = "'data'"
+) }}
 
 ## min(number) = 0
 
@@ -121,7 +123,8 @@ Configurations of emphasis state.
 {{ use: partial-focus-blur-scope() }}
 
 {{ use: partial-funnel-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'emphasis'
 ) }}
 
 ## blur(Object)
@@ -133,7 +136,8 @@ Configurations of emphasis state.
 Configurations of blur state. Available when [emphasis.focus](~series-funnel.emphasis.focus) is set.
 
 {{ use: partial-funnel-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'blur'
 ) }}
 
 ## select(Object)
@@ -145,7 +149,8 @@ Configurations of blur state. Available when [emphasis.focus](~series-funnel.emp
 Configurations of select state. Available when [selectedMode](~series-funnel.selectedMode) is set.
 
 {{ use: partial-funnel-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'select'
 ) }}
 
 {{ use: partial-selected-mode(
@@ -219,7 +224,8 @@ The label configuration of a single data item.
 ### emphasis(Object)
 
 {{ use: partial-funnel-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'emphasis'
 ) }}
 
 ### blur(Object)
@@ -229,7 +235,8 @@ The label configuration of a single data item.
 ) }}
 
 {{ use: partial-funnel-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'blur'
 ) }}
 
 ### select(Object)
@@ -239,7 +246,8 @@ The label configuration of a single data item.
 ) }}
 
 {{ use: partial-funnel-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'select'
 ) }}
 
 {{ use: partial-tooltip-in-series-data() }}
@@ -285,7 +293,8 @@ The label configuration of a single data item.
 #${prefix} itemStyle(Object)
 
 {{ use: partial-item-style(
-    prefix = "#" + ${prefix}
+    prefix = "#" + ${prefix},
+    hasInherit = ${state} === 'emphasis'
 ) }}
 
 
diff --git a/en/option/series/gauge.md b/en/option/series/gauge.md
index df94976..452a6cf 100644
--- a/en/option/series/gauge.md
+++ b/en/option/series/gauge.md
@@ -16,7 +16,9 @@
 
 {{ use: partial-series-name() }}
 
-{{ use: partial-colorby(defaultColorBy="'data'") }}
+{{ use: partial-colorby(
+    defaultColorBy = "'data'"
+) }}
 
 {{ use: component-circular-layout() }}
 
@@ -436,7 +438,8 @@ Configurations of emphasis state.
 ### itemStyle(*)
 
 {{ use: partial-item-style(
-    prefix = "###"
+    prefix = "###",
+    hasInherit = true
 ) }}
 
 {{ use: partial-gauge-title-detail(
diff --git a/en/option/series/graph.md b/en/option/series/graph.md
index d1e8bd2..9bddf9f 100644
--- a/en/option/series/graph.md
+++ b/en/option/series/graph.md
@@ -224,7 +224,9 @@ Whether to scale to highlight the node in emphasis state.
     isGraph = true
 ) }}
 
-{{ use: graph-state() }}
+{{ use: graph-state(
+    state = 'emphasis'
+) }}
 
 ## blur(Object)
 
@@ -234,7 +236,9 @@ Whether to scale to highlight the node in emphasis state.
 
 Configurations of blur state. Available when [emphasis.focus](~series-graph.emphasis.focus) is set.
 
-{{ use: graph-state() }}
+{{ use: graph-state(
+    state = 'blur'
+) }}
 
 ## select(Object)
 
@@ -244,7 +248,9 @@ Configurations of blur state. Available when [emphasis.focus](~series-graph.emph
 
 Configurations of select state. Available when [selectedMode](~series-graph.selectedMode) is set.
 
-{{ use: graph-state() }}
+{{ use: graph-state(
+    state = 'select'
+) }}
 
 {{ use: partial-selected-mode(
     version = '5.0.0'
@@ -287,7 +293,9 @@ The label style of node in this category.
 
 Emphasis state of nodes in this category.
 
-{{ use: graph-node-state() }}
+{{ use: graph-node-state(
+    state = 'emphasis'
+) }}
 
 ### blur(Object)
 
@@ -297,7 +305,9 @@ Emphasis state of nodes in this category.
 
 Blur state of nodes in this category.
 
-{{ use: graph-node-state() }}
+{{ use: graph-node-state(
+    state = 'blur'
+) }}
 
 ### select(Object)
 
@@ -307,7 +317,9 @@ Blur state of nodes in this category.
 
 Select state of nodes in this category.
 
-{{ use: graph-node-state() }}
+{{ use: graph-node-state(
+    state = 'select'
+) }}
 
 ## autoCurveness(boolean|number|Array) = false
 
@@ -393,7 +405,9 @@ The label style of this node.
 
 Emphasis state of specified node.
 
-{{ use: graph-node-state() }}
+{{ use: graph-node-state(
+    state = 'emphasis'
+) }}
 
 ### blur(Object)
 
@@ -403,7 +417,9 @@ Emphasis state of specified node.
 
 Blur state of specified node.
 
-{{ use: graph-node-state() }}
+{{ use: graph-node-state(
+    state = 'blur'
+) }}
 
 ### select(Object)
 
@@ -413,7 +429,9 @@ Blur state of specified node.
 
 Select state of specified node.
 
-{{ use: graph-node-state() }}
+{{ use: graph-node-state(
+    state = 'select'
+) }}
 
 {{ use: partial-tooltip-in-series-data() }}
 
@@ -470,7 +488,9 @@ The curveness of edge, supporting values from 0 to 1. The curveness will be larg
 
 Emphasis state of specified edge.
 
-{{ use: graph-edge-state() }}
+{{ use: graph-edge-state(
+    state = 'emphasis'
+) }}
 
 ### blur(Object)
 
@@ -480,7 +500,9 @@ Emphasis state of specified edge.
 
 Blur state of specified edge.
 
-{{ use: graph-edge-state() }}
+{{ use: graph-edge-state(
+    state = 'blur'
+) }}
 
 ### select(Object)
 
@@ -490,7 +512,9 @@ Blur state of specified edge.
 
 Select state of specified edge.
 
-{{ use: graph-edge-state() }}
+{{ use: graph-edge-state(
+    state = 'select'
+) }}
 
 ### symbol(Array|string)
 
@@ -566,7 +590,8 @@ Label position, options:
 ### itemStyle(Object)
 
 {{ use: partial-item-style(
-    prefix = "###"
+    prefix = "###",
+    hasInherit = ${state} === 'emphasis'
 ) }}
 
 ### lineStyle(Object)
@@ -597,7 +622,8 @@ Label position, options:
 #### itemStyle(Object)
 
 {{ use: partial-item-style(
-    prefix = "####"
+    prefix = "####",
+    hasInherit = ${state} === 'emphasis'
 ) }}
 
 #### label(Object)
@@ -615,7 +641,8 @@ Label position, options:
 
 {{ use: partial-line-style(
     prefix = "####",
-    hasCurveness = true
+    hasCurveness = true,
+    hasInherit = ${state} === 'emphasis'
 ) }}
 
 #### label(Object)
diff --git a/en/option/series/heatmap.md b/en/option/series/heatmap.md
index 674a112..00fe8bf 100644
--- a/en/option/series/heatmap.md
+++ b/en/option/series/heatmap.md
@@ -81,7 +81,8 @@ Configurations of emphasis state.
 {{ use: partial-focus-blur-scope() }}
 
 {{ use: heatmap-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'emphasis'
 ) }}
 
 ## blur(Object)
@@ -93,7 +94,8 @@ Configurations of emphasis state.
 Configurations of blur state. Available when [emphasis.focus](~series-heatmap.emphasis.focus) is set.
 
 {{ use: heatmap-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'blur'
 ) }}
 
 ## select(Object)
@@ -105,7 +107,8 @@ Configurations of blur state. Available when [emphasis.focus](~series-heatmap.em
 Configurations of select state. Available when [selectedMode](~series-heatmap.selectedMode) is set.
 
 {{ use: heatmap-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'select'
 ) }}
 
 {{ use: partial-selected-mode(
@@ -160,7 +163,8 @@ Style of a single data point. It is valid with [coordinateSystem](~series-heatma
 #### itemStyle(Object)
 
 {{ use: partial-item-style(
-    prefix = "####"
+    prefix = "####",
+    hasInherit = true
 ) }}
 
 #### label(Object)
@@ -193,7 +197,8 @@ Style of a single data point. It is valid with [coordinateSystem](~series-heatma
 #${prefix} itemStyle(Object)
 
 {{ use: partial-item-style(
-    prefix = "#" + ${prefix}
+    prefix = "#" + ${prefix},
+    hasInherit = ${state} === 'emphasis'
 ) }}
 
 #${prefix} label(Object)
diff --git a/en/option/series/line.md b/en/option/series/line.md
index 70cf379..619ed61 100644
--- a/en/option/series/line.md
+++ b/en/option/series/line.md
@@ -172,7 +172,9 @@ Whether to scale to highlight the data in emphasis state.
 
 {{ use: partial-focus-blur-scope() }}
 
-{{ use: line-state() }}
+{{ use: line-state(
+    state = 'emphasis'
+) }}
 
 ### endLabel(Object)
 
@@ -195,7 +197,9 @@ Whether to scale to highlight the data in emphasis state.
 
 Configurations of blur state. Available when [emphasis.focus](~series-line.emphasis.focus) is set.
 
-{{ use: line-state() }}
+{{ use: line-state(
+    state = 'blur'
+) }}
 
 ### endLabel(Object)
 
@@ -214,7 +218,9 @@ Configurations of blur state. Available when [emphasis.focus](~series-line.empha
 
 Configurations of select state. Available when [selectedMode](~series-line.selectedMode) is set.
 
-{{ use: line-state() }}
+{{ use: line-state(
+    state = 'select'
+) }}
 
 ### endLabel(Object)
 
@@ -334,19 +340,25 @@ The style of the symbol of single data point.
 
 Emphasis state of specified single data.
 
-{{ use: line-item-state() }}
+{{ use: line-item-state(
+    state = 'emphasis'
+) }}
 
 ### blur(Object)
 
 Blur state of specified single data.
 
-{{ use: line-item-state() }}
+{{ use: line-item-state(
+    state = 'blur'
+) }}
 
 ### select(Object)
 
 Select state of specified single data.
 
-{{ use: line-item-state() }}
+{{ use: line-item-state(
+    state = 'select'
+) }}
 
 {{ use: partial-tooltip-in-series-data() }}
 
@@ -399,14 +411,16 @@ Select state of specified single data.
 ### itemStyle(Object)
 
 {{ use: partial-item-style(
-    prefix = "###"
+    prefix = "###",
+    hasInherit = ${state} === 'emphasis'
 ) }}
 
 ### lineStyle(Object)
 
 {{ use: partial-line-style(
     prefix = "###",
-    defaultWidth = 2
+    defaultWidth = 2,
+    hasInherit = ${state} === 'emphasis'
 ) }}
 
 ### areaStyle(Object)
@@ -428,6 +442,7 @@ Select state of specified single data.
 #### itemStyle(Object)
 
 {{ use: partial-item-style(
-    prefix = "####"
+    prefix = "####",
+    hasInherit = ${state} === 'emphasis'
 ) }}
 
diff --git a/en/option/series/lines.md b/en/option/series/lines.md
index d022ecc..986f7fb 100644
--- a/en/option/series/lines.md
+++ b/en/option/series/lines.md
@@ -140,7 +140,8 @@ Emphasis state.
 {{ use: partial-focus-blur-scope() }}
 
 {{ use: lines-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'emphasis'
 ) }}
 
 ## blur(Object)
@@ -152,7 +153,8 @@ Emphasis state.
 Configurations of blur state. Available when [emphasis.focus](~series-lines.emphasis.focus) is set.
 
 {{ use: lines-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'blur'
 ) }}
 
 ## select(Object)
@@ -164,7 +166,8 @@ Configurations of blur state. Available when [emphasis.focus](~series-lines.emph
 Configurations of select state. Available when [selectedMode](~series-lines.selectedMode) is set.
 
 {{ use: lines-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'select'
 ) }}
 
 {{ use: partial-selected-mode(
@@ -213,7 +216,8 @@ Label of a single line. Available when [polyline](~series-lines.polyline) is not
 ### emphasis(Object)
 
 {{ use: lines-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'emphasis'
 ) }}
 
 ### blur(Object)
@@ -223,7 +227,8 @@ Label of a single line. Available when [polyline](~series-lines.polyline) is not
 ) }}
 
 {{ use: lines-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'blur'
 ) }}
 
 ### select(Object)
@@ -233,7 +238,8 @@ Label of a single line. Available when [polyline](~series-lines.polyline) is not
 ) }}
 
 {{ use: lines-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'select'
 ) }}
 
 {{ use: partial-marker(
@@ -292,7 +298,8 @@ the position of label, options:
 #${prefix} lineStyle(Object)
 
 {{ use: partial-line-style(
-    prefix = '#' + ${prefix}
+    prefix = '#' + ${prefix},
+    hasInherit = ${state} === 'emphasis'
 ) }}
 
 #${prefix} label(Object)
diff --git a/en/option/series/map.md b/en/option/series/map.md
index d2f96a6..7f6179c 100644
--- a/en/option/series/map.md
+++ b/en/option/series/map.md
@@ -140,13 +140,17 @@ Color of the area.
 
 Emphasis state of specified region.
 
-{{ use: map-region-state() }}
+{{ use: map-region-state(
+    state = 'emphasis'
+) }}
 
 ### select(Object)
 
 Select state of polygon.
 
-{{ use: map-region-state() }}
+{{ use: map-region-state(
+    state = 'select'
+) }}
 
 {{ use: partial-tooltip-in-series-data() }}
 
@@ -179,7 +183,8 @@ The color of the map area.
 {{ use: partial-color-desc() }}
 
 {{ use: partial-item-style(
-    prefix = '####'
+    prefix = '####',
+    hasInherit = ${state} === 'emphasis'
 ) }}
 
 #### label(Object)
diff --git a/en/option/series/pictorialBar.md b/en/option/series/pictorialBar.md
index 8ddefa8..33bfe5d 100644
--- a/en/option/series/pictorialBar.md
+++ b/en/option/series/pictorialBar.md
@@ -118,7 +118,8 @@ Configurations of emphasis state.
 {{ use: partial-focus-blur-scope() }}
 
 {{ use: pictoialBar-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'emphasis'
 ) }}
 
 ## blur(Object)
@@ -130,7 +131,8 @@ Configurations of emphasis state.
 Configurations of blur state. Available when [emphasis.focus](~series-pictoialBar.emphasis.focus) is set.
 
 {{ use: pictoialBar-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'blur'
 ) }}
 
 ## select(Object)
@@ -146,7 +148,8 @@ Configurations of select state. Available when [selectedMode](~series-pictoialBa
 ) }}
 
 {{ use: pictoialBar-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'select'
 ) }}
 
 {{ use: partial-barGrid(
@@ -222,7 +225,8 @@ The style setting of the text label in a single bar.
 Emphasis state of the specified single data.
 
 {{ use: partial-bar-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'emphasis'
 ) }}
 
 ### blur(Object)
@@ -234,7 +238,8 @@ Emphasis state of the specified single data.
 Blur state of the specified single data.
 
 {{ use: partial-bar-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'blur'
 ) }}
 
 ### select(Object)
@@ -246,7 +251,8 @@ Blur state of the specified single data.
 Select state of the specified single data.
 
 {{ use: partial-bar-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'select'
 ) }}
 
 {{ use: partial-tooltip-in-series-data() }}
@@ -641,6 +647,7 @@ series: [{
 #${prefix} itemStyle(Object)
 
 {{ use: partial-item-style(
-    prefix = "#" + ${prefix}
+    prefix = "#" + ${prefix},
+    hasInherit = ${state} === 'emphasis'
 ) }}
 
diff --git a/en/option/series/pie.md b/en/option/series/pie.md
index c104f22..700a0da 100644
--- a/en/option/series/pie.md
+++ b/en/option/series/pie.md
@@ -27,7 +27,9 @@ For multiple pie series in a single chart, you may use [left](~series-pie.left),
 
 {{ use: partial-series-name() }}
 
-{{ use: partial-colorby(defaultColorBy="'data'") }}
+{{ use: partial-colorby(
+    defaultColorBy = "'data'"
+) }}
 
 {{ use: partial-legend-hover-link() }}
 
@@ -206,7 +208,8 @@ Size of scale. Available when [emphasis.scale](~series-pie.emphasis.scale) is se
 {{ use: partial-focus-blur-scope() }}
 
 {{ use: pie-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'emphasis'
 ) }}
 
 ## blur(Object)
@@ -218,7 +221,8 @@ Size of scale. Available when [emphasis.scale](~series-pie.emphasis.scale) is se
 Configurations of blur state. Available when [emphasis.focus](~series-pie.emphasis.focus) is set.
 
 {{ use: pie-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'blur'
 ) }}
 
 ## select(Object)
@@ -230,7 +234,8 @@ Configurations of blur state. Available when [emphasis.focus](~series-pie.emphas
 Configurations of select state. Available when [selectedMode](~series-pie.selectedMode) is set.
 
 {{ use: pie-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'select'
 ) }}
 
 {{ use: component-circular-layout(
@@ -309,7 +314,8 @@ The label configuration of a single sector.
 ### emphasis(Object)
 
 {{ use: pie-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'emphasis'
 ) }}
 
 ### blur(Object)
@@ -319,7 +325,8 @@ The label configuration of a single sector.
 ) }}
 
 {{ use: pie-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'blur'
 ) }}
 
 ### select(Object)
@@ -329,7 +336,8 @@ The label configuration of a single sector.
 ) }}
 
 {{ use: pie-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'select'
 ) }}
 
 {{ use: partial-tooltip-in-series-data() }}
@@ -447,7 +455,8 @@ Label rotation.
 #${prefix} itemStyle(Object)
 
 {{ use: partial-item-style(
-    prefix = "#" + ${prefix}
+    prefix = "#" + ${prefix},
+    hasInherit = ${state} === 'emphasis'
 ) }}
 
 {{ use: partial-pie-border-radius(
diff --git a/en/option/series/radar.md b/en/option/series/radar.md
index f68c981..d4a4875 100644
--- a/en/option/series/radar.md
+++ b/en/option/series/radar.md
@@ -19,7 +19,9 @@ Here is the example of AQI data which is presented in radar chart.
 
 {{ use: partial-series-name() }}
 
-{{ use: partial-colorby(defaultColorBy="'data'") }}
+{{ use: partial-colorby(
+    defaultColorBy = "'data'"
+) }}
 
 ## radarIndex(number)
 
@@ -85,7 +87,8 @@ Configurations of emphasis state.
 {{ use: partial-focus-blur-scope() }}
 
 {{ use: radar-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'emphasis'
 ) }}
 
 ## blur(Object)
@@ -97,7 +100,8 @@ Configurations of emphasis state.
 Configurations of blur state. Available when [emphasis.focus](~series-radar.emphasis.focus) is set.
 
 {{ use: radar-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'blur'
 ) }}
 
 ## select(Object)
@@ -109,7 +113,8 @@ Configurations of blur state. Available when [emphasis.focus](~series-radar.emph
 Configurations of select state. Available when [selectedMode](~series-radar.selectedMode) is set.
 
 {{ use: radar-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'select'
 ) }}
 
 {{ use: partial-selected-mode(
@@ -195,7 +200,8 @@ Area filling style of a single item.
 Configurations of emphasis state.
 
 {{ use: radar-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'emphasis'
 ) }}
 
 ### blur(Object)
@@ -207,7 +213,8 @@ Configurations of emphasis state.
 Configurations of blur state.
 
 {{ use: radar-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'blur'
 ) }}
 
 ### select(Object)
@@ -219,7 +226,8 @@ Configurations of blur state.
 Configurations of selected state.
 
 {{ use: radar-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'select'
 ) }}
 
 {{ use: partial-tooltip-in-series-data() }}
@@ -250,7 +258,8 @@ Configurations of selected state.
 #${prefix} itemStyle(Object)
 
 {{ use: partial-item-style(
-    prefix = "#" + ${prefix}
+    prefix = "#" + ${prefix},
+    hasInherit = ${state} === 'emphasis'
 ) }}
 
 #${prefix} label(Object)
@@ -264,7 +273,8 @@ Configurations of selected state.
 
 {{ use: partial-line-style(
     prefix = "#" + ${prefix},
-    defaultJoin = "'round'"
+    defaultJoin = "'round'",
+    hasInherit = ${state} === 'emphasis'
 ) }}
 
 #${prefix} areaStyle(Object)
diff --git a/en/option/series/sankey.md b/en/option/series/sankey.md
index 5610ae0..f69e562 100644
--- a/en/option/series/sankey.md
+++ b/en/option/series/sankey.md
@@ -136,7 +136,8 @@ Specify which layer is set, value starts from 0.
 ### emphasis(Object)
 
 {{ use: sankey-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'emphasis'
 ) }}
 
 ### blur(Object)
@@ -146,7 +147,8 @@ Specify which layer is set, value starts from 0.
 ) }}
 
 {{ use: sankey-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'blur'
 ) }}
 
 ### select(Object)
@@ -156,7 +158,8 @@ Specify which layer is set, value starts from 0.
 ) }}
 
 {{ use: sankey-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'select'
 ) }}
 
 ## label(Object)
@@ -205,7 +208,8 @@ Configurations of emphasis state.
 ) }}
 
 {{ use: sankey-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'emphasis'
 ) }}
 
 ## blur(Object)
@@ -217,7 +221,8 @@ Configurations of emphasis state.
 Configurations of blur state. Available when [emphasis.focus](~series-sankey.emphasis.focus) is set.
 
 {{ use: sankey-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'blur'
 ) }}
 
 ## select(Object)
@@ -229,7 +234,8 @@ Configurations of blur state. Available when [emphasis.focus](~series-sankey.emp
 Configurations of selected state. Available when [selectedMode](~series-sankey.selectedMode) is set.
 
 {{ use: sankey-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'select'
 ) }}
 
 {{ use: partial-selected-mode(
@@ -286,7 +292,8 @@ The lable style of this node.
 ### emphasis(Object)
 
 {{ use: sankey-node-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'emphasis'
 ) }}
 
 ### blur(Object)
@@ -296,7 +303,8 @@ The lable style of this node.
 ) }}
 
 {{ use: sankey-node-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'blur'
 ) }}
 
 ### select(Object)
@@ -306,7 +314,8 @@ The lable style of this node.
 ) }}
 
 {{ use: sankey-node-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'select'
 ) }}
 
 {{ use: partial-tooltip-in-series-data() }}
@@ -354,7 +363,8 @@ The line stlye of edge.
 #### lineStyle(Object)
 
 {{ use: partial-sankey-line-style(
-    prefix = "####"
+    prefix = "####",
+    hasInherit = true
 ) }}
 
 ### blur(Object)
@@ -437,7 +447,8 @@ The curveness of the edge in Sankey diagram.
 
 {{ use: partial-item-style(
     prefix = "#" + ${prefix},
-    useDecal = true
+    useDecal = true,
+    hasInherit = ${state} === 'emphasis'
 ) }}
 
 
@@ -454,12 +465,14 @@ The curveness of the edge in Sankey diagram.
 #${prefix} itemStyle(Object)
 
 {{ use: partial-item-style(
-    prefix = "#" + ${prefix}
+    prefix = "#" + ${prefix},
+    hasInherit = ${state} === 'emphasis'
 ) }}
 
 #${prefix} lineStyle(Object)
 
 {{ use: partial-sankey-line-style(
-    prefix = "#" + ${prefix}
+    prefix = "#" + ${prefix},
+    hasInherit = ${state} === 'emphasis'
 ) }}
 
diff --git a/en/option/series/scatter.md b/en/option/series/scatter.md
index 1f383e4..efc5994 100644
--- a/en/option/series/scatter.md
+++ b/en/option/series/scatter.md
@@ -96,7 +96,7 @@ Whether to scale to highlight the data in emphasis state.
 
 {{ use: scatter-state(
     prefix = "##",
-    isNormal = true
+    state = 'emphasis'
 ) }}
 
 ## blur(Object)
@@ -108,7 +108,8 @@ Whether to scale to highlight the data in emphasis state.
 Configurations of blur state. Available when [emphasis.focus](~series-scatter.emphasis.focus) is set.
 
 {{ use: scatter-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'blur'
 ) }}
 
 ## select(Object)
@@ -120,7 +121,8 @@ Configurations of blur state. Available when [emphasis.focus](~series-scatter.em
 Configurations of select state. Available when [selectedMode](~series-scatter.selectedMode) is set.
 
 {{ use: scatter-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'select'
 ) }}
 
 {{ use: partial-selected-mode(
@@ -198,7 +200,8 @@ the style setting about single data point(bubble).
 Emphasis state of single data.
 
 {{ use: scatter-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'emphasis'
 ) }}
 
 ### blur(Object)
@@ -210,7 +213,8 @@ Emphasis state of single data.
 Blur state of single data.
 
 {{ use: scatter-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'blur'
 ) }}
 
 ### select(Object)
@@ -222,7 +226,8 @@ Blur state of single data.
 Select state of single data.
 
 {{ use: scatter-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'select'
 ) }}
 
 {{ use: partial-tooltip-in-series-data() }}
@@ -279,6 +284,7 @@ Select state of single data.
 #${prefix} itemStyle(Object)
 
 {{ use: partial-item-style(
-    prefix = "#" + ${prefix}
+    prefix = "#" + ${prefix},
+    hasInherit = ${state} === 'emphasis'
 ) }}
 
diff --git a/en/option/series/sunburst.md b/en/option/series/sunburst.md
index 61a6a47..8fba27d 100644
--- a/en/option/series/sunburst.md
+++ b/en/option/series/sunburst.md
@@ -70,10 +70,10 @@ If angle of data piece is smaller than this value (in degrees), then text is not
 
 {{ use: partial-label-line(
     prefix = '#' + ${prefix},
-    length2 = ${isNormal},
-    minTurnAngle = ${isNormal},
-    showAbove = ${isNormal},
-    smooth = ${isNormal}
+    length2 = ${state} === 'normal',
+    minTurnAngle = ${state} === 'normal',
+    showAbove = ${state} === 'normal',
+    smooth = ${state} === 'normal'
 ) }}
 
 
@@ -94,7 +94,8 @@ If angle of data piece is smaller than this value (in degrees), then text is not
     defaultBorderWidth = 1,
     defaultBorderColor = "'white'",
     defaultOpacity = 1,
-    useDecal = ${isNormal}
+    hasInherit = ${state} === 'emphasis',
+    useDecal = ${state} === 'normal'
 ) }}
 
 
@@ -103,12 +104,12 @@ If angle of data piece is smaller than this value (in degrees), then text is not
 
 {{ use: partial-sunburst-label-props(
     prefix = ${prefix},
-    isNormal = ${isNormal}
+    state = ${state}
 ) }}
 
 {{ use: partial-sunburst-itemStyle-props(
     prefix = ${prefix},
-    isNormal = ${isNormal}
+    state = ${state}
 ) }}
 
 
@@ -203,14 +204,14 @@ Like `target` attribute of HTML `<a>`, which can either be `'blank'` or `'self'`
 
 {{ use: partial-sunburst-state(
     prefix = "##",
-    isNormal = true
+    state = 'normal'
 ) }}
 
 ## labelLayout(Object|Function)
 
 {{ use: partial-sunburst-state(
     prefix = "#",
-    isNormal = true
+    state = 'normal'
 ) }}
 
 ### emphasis
@@ -218,7 +219,8 @@ Like `target` attribute of HTML `<a>`, which can either be `'blank'` or `'self'`
 Emphasis state.
 
 {{ use: partial-sunburst-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'emphasis'
 ) }}
 
 ### blur
@@ -226,7 +228,8 @@ Emphasis state.
 Blur state.
 
 {{ use: partial-sunburst-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'blur'
 ) }}
 
 ### select
@@ -234,7 +237,8 @@ Blur state.
 Select state.
 
 {{ use: partial-sunburst-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'select'
 ) }}
 
 ### children(Array)
@@ -271,12 +275,12 @@ If there is no `name`, whether need to render it.
 
 {{ use: partial-sunburst-label-props(
     prefix = "#",
-    isNormal = true
+    state = 'normal'
 ) }}
 
 {{ use: partial-sunburst-itemStyle-props(
     prefix = "#",
-    isNormal = true
+    state = 'normal'
 ) }}
 
 ## emphasis
@@ -288,7 +292,8 @@ Configurations of emphasis state.
 ) }}
 
 {{ use: partial-sunburst-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'emphasis'
 ) }}
 
 ## blur
@@ -296,7 +301,8 @@ Configurations of emphasis state.
 Configurations of blur state. Available when [emphasis.focus](~series-sunburst.emphasis.focus) is set.
 
 {{ use: partial-sunburst-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'blur'
 ) }}
 
 ## select
@@ -304,7 +310,8 @@ Configurations of blur state. Available when [emphasis.focus](~series-sunburst.e
 Configurations of select state. Available when [selectedMode](~series-sunburst.selectedMode) is set.
 
 {{ use: partial-sunburst-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'select'
 ) }}
 
 {{ use: partial-selected-mode(
@@ -355,7 +362,8 @@ series: {
 Emphasis state.
 
 {{ use: partial-sunburst-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'emphasis'
 ) }}
 
 ### blur
@@ -363,7 +371,8 @@ Emphasis state.
 Blur state.
 
 {{ use: partial-sunburst-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'blur'
 ) }}
 
 ### select
@@ -371,7 +380,8 @@ Blur state.
 Select state.
 
 {{ use: partial-sunburst-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'select'
 ) }}
 
 {{ use: partial-animation(
diff --git a/en/option/series/themeRiver.md b/en/option/series/themeRiver.md
index c6e162a..7ec4346 100644
--- a/en/option/series/themeRiver.md
+++ b/en/option/series/themeRiver.md
@@ -27,7 +27,9 @@ What's more, the time attribute of the orinigal dataset would map to a single ti
 
 {{ use: partial-series-name() }}
 
-{{ use: partial-colorby(defaultColorBy="'data'") }}
+{{ use: partial-colorby(
+    defaultColorBy = "'data'"
+) }}
 
 {{ use: partial-rect-layout-width-height(
     componentName = 'thmemRiver',
@@ -103,7 +105,8 @@ Configurations of emphasis state.
 {{ use: partial-focus-blur-scope() }}
 
 {{ use: themeRiver-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'emphasis'
 ) }}
 
 ## blur(Object)
@@ -115,7 +118,8 @@ Configurations of emphasis state.
 Configurations of blur state.
 
 {{ use: themeRiver-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'blur'
 ) }}
 
 ## select(Object)
@@ -127,7 +131,8 @@ Configurations of blur state.
 Configurations of select state.
 
 {{ use: themeRiver-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'select'
 ) }}
 
 {{ use: partial-selected-mode(
@@ -197,6 +202,7 @@ the name of an event or theme.
 #${prefix} itemStyle(Object)
 
 {{ use: partial-item-style(
-    prefix = "#" + ${prefix}
+    prefix = "#" + ${prefix},
+    hasInherit = ${state} === 'emphasis'
 ) }}
 
diff --git a/en/option/series/tree.md b/en/option/series/tree.md
index 4c8c8de..6f5ab2e 100644
--- a/en/option/series/tree.md
+++ b/en/option/series/tree.md
@@ -147,7 +147,8 @@ Configurations of emphasis state.
 ) }}
 
 {{ use: tree-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'emphasis'
 ) }}
 
 ## blur(Object)
@@ -159,7 +160,8 @@ Configurations of emphasis state.
 Configurations of blur state. Available when [emphasis.focus](~series-tree.emphasis.focus) is set.
 
 {{ use: tree-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'blur'
 ) }}
 
 ## select(Object)
@@ -171,7 +173,8 @@ Configurations of blur state. Available when [emphasis.focus](~series-tree.empha
 Configurations of select state. Available when [selectedMode](~series-tree.selectedMode) is set.
 
 {{ use: tree-state(
-    prefix = "##"
+    prefix = "##",
+    state = 'select'
 ) }}
 
 {{ use: partial-selected-mode(
@@ -206,7 +209,8 @@ The style of the leaf node in the tree.
 Emphasis state of leaves nodes.
 
 {{ use: tree-node-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'emphasis'
 ) }}
 
 ### blur(Object)
@@ -218,7 +222,8 @@ Emphasis state of leaves nodes.
 Blur state of leaves nodes.
 
 {{ use: tree-node-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'blur'
 ) }}
 
 ### select(Object)
@@ -230,7 +235,8 @@ Blur state of leaves nodes.
 Select state of leaves nodes.
 
 {{ use: tree-node-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'select'
 ) }}
 
 ## data(Object)
@@ -302,7 +308,8 @@ The label of the node.
 Emphasis state of a single node.
 
 {{ use: tree-node-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'emphasis'
 ) }}
 
 ### blur(Object)
@@ -314,7 +321,8 @@ Emphasis state of a single node.
 Blur state of a single node.
 
 {{ use: tree-node-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'blur'
 ) }}
 
 ### select(Object)
@@ -326,7 +334,8 @@ Blur state of a single node.
 Select state of a single node.
 
 {{ use: tree-node-state(
-    prefix = "###"
+    prefix = "###",
+    state = 'select'
 ) }}
 
 {{ use: partial-tooltip-in-series-data() }}
@@ -374,7 +383,8 @@ The curvature of the tree edge.
 该节点的样式。
 
 {{ use: partial-item-style(
-    prefix = "#" + ${prefix}
+    prefix = "#" + ${prefix},
+    hasInherit = ${state} === 'emphasis'
 ) }}
 
 #${prefix} lineStyle(Object)
@@ -401,7 +411,8 @@ Defines the style of the tree edge.
 Defines the style of the tree edge.
 
 {{ use: partial-tree-line-style(
-    prefix = "#" + ${prefix}
+    prefix = "#" + ${prefix},
+    hasInherit = ${state} === 'emphasis'
 ) }}
 
 
@@ -409,10 +420,12 @@ Defines the style of the tree edge.
 {{ target: tree-state }}
 
 {{ use: tree-node-state(
-    prefix = ${prefix}
+    prefix = ${prefix},
+    state = ${state}
 ) }}
 
 {{ use: tree-edge-state(
-    prefix = ${prefix}
+    prefix = ${prefix},
+    state = ${state}
 ) }}
 
diff --git a/en/option/series/treemap.md b/en/option/series/treemap.md
index 00d7ce2..9cdf08b 100644
--- a/en/option/series/treemap.md
+++ b/en/option/series/treemap.md
@@ -175,6 +175,7 @@ When is no content in breadcrumb, this minimal width need to be set up.
 {{ use: partial-item-style(
     prefix = "####",
     name = "boxplot",
+    hasInherit = true,
     defaultColor = "rgba(0,0,0,0.7)",
     defaultBorderColor = "rgba(255,255,255,0.7)",
     defaultBorderWidth = 1,

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