This is an automated email from the ASF dual-hosted git repository. wangzx pushed a commit to branch dev in repository https://gitbox.apache.org/repos/asf/echarts-doc.git
The following commit(s) were added to refs/heads/dev by this push: new 84f53719 tweak doc for #276 84f53719 is described below commit 84f5371916b6a8a2bcc04e6757114e73793eb4da Author: plainheart <y...@all-my-life.cn> AuthorDate: Tue Mar 14 12:44:18 2023 +0800 tweak doc for #276 --- en/option/partial/emphasis-common.md | 8 +++----- en/option/series/sankey.md | 3 ++- en/option/series/tree.md | 2 +- zh/option/partial/emphasis-common.md | 11 +++++++---- zh/option/series/sankey.md | 4 +++- zh/option/series/tree.md | 2 +- 6 files changed, 17 insertions(+), 13 deletions(-) diff --git a/en/option/partial/emphasis-common.md b/en/option/partial/emphasis-common.md index 117dd5bb..61dc2e9a 100644 --- a/en/option/partial/emphasis-common.md +++ b/en/option/partial/emphasis-common.md @@ -46,12 +46,10 @@ When the data is highlighted, whether to fade out of other data to focus the hig + `'descendant'` Focus on all descendants nodes. {{ /if }} {{ if: ${hasRelative} }} -+ `'relative'` Focus on all ancestor and descendants nodes. (Since `v${version}`) ++ `'relative'` Focus on all ancestor and descendants nodes. (Since `v${relativeVersion}`) {{ /if }} - - -{{ if: ${isSankey} }} -+ `'trajectory'` Focus on all the elements connected to the node or edge in the graph. +{{ if: ${hasTrajectory} }} ++ `'trajectory'` Focus on all the elements connected to the node or edge in the graph. (Since `v${trajectoryVersion}`) {{ /if }} **Example: ** diff --git a/en/option/series/sankey.md b/en/option/series/sankey.md index 81d9c0cd..93a6de57 100644 --- a/en/option/series/sankey.md +++ b/en/option/series/sankey.md @@ -223,7 +223,8 @@ Configurations of emphasis state. {{ use: partial-focus-blur-scope( isGraph = true, - isSankey = true + hasTrajectory = true, + trajectoryVersion = "5.5.0" ) }} {{ use: sankey-state( diff --git a/en/option/series/tree.md b/en/option/series/tree.md index 9a40d208..0fff3144 100644 --- a/en/option/series/tree.md +++ b/en/option/series/tree.md @@ -163,7 +163,7 @@ Configurations of emphasis state. {{ use: partial-focus-blur-scope( isTree = true, hasRelative = true, - version = "5.3.3" + relativeVersion = "5.3.3" ) }} {{ use: tree-state( diff --git a/zh/option/partial/emphasis-common.md b/zh/option/partial/emphasis-common.md index ba6fe5b1..f94e6b62 100644 --- a/zh/option/partial/emphasis-common.md +++ b/zh/option/partial/emphasis-common.md @@ -39,14 +39,17 @@ {{ /if }} {{ if: ${isGraph} }} -+ `'adjacency'` 聚焦关系图中的邻接点和边的图形 ++ `'adjacency'` 聚焦关系图中的邻接点和边的图形。 {{ elif: ${isTree} }} -+ `'ancestor'` 聚焦所有祖先节点 -+ `'descendant'` 聚焦所有子孙节点 ++ `'ancestor'` 聚焦所有祖先节点。 ++ `'descendant'` 聚焦所有子孙节点。 {{ /if }} {{ if: ${hasRelative} }} -+ `'relative'` 聚焦所有子孙和祖先节点(从 `v${version}`开始支持) ++ `'relative'` 聚焦所有子孙和祖先节点。(从 `v${relativeVersion}` 开始支持) +{{ /if }} +{{ if: ${hasTrajectory} }} ++ `'trajectory'` 聚焦所有连接到当前高亮的数据的节点和边。(从 `v${trajectoryVersion}` 开始支持) {{ /if }} **示例:** diff --git a/zh/option/series/sankey.md b/zh/option/series/sankey.md index 971d0f7b..97f84e34 100644 --- a/zh/option/series/sankey.md +++ b/zh/option/series/sankey.md @@ -225,7 +225,9 @@ levels: [{ ) }} {{ use: partial-focus-blur-scope( - isGraph = true + isGraph = true, + hasTrajectory = true, + trajectoryVersion = "5.5.0" ) }} {{ use: sankey-state( diff --git a/zh/option/series/tree.md b/zh/option/series/tree.md index a91f3c02..60366970 100644 --- a/zh/option/series/tree.md +++ b/zh/option/series/tree.md @@ -206,7 +206,7 @@ center: [115.97, '30%'] {{ use: partial-focus-blur-scope( isTree = true, hasRelative = true, - version = "5.3.3" + relativeVersion = "5.3.3" ) }} {{ use: tree-state( --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org