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 e0d519dd feat(sankey): add new strategy `trajectory` for emphasis focus of sankey (#276) e0d519dd is described below commit e0d519dde9d304c73c1e1fe84c483cf547162e44 Author: Elay Gelbart <88675154+elaygelb...@users.noreply.github.com> AuthorDate: Mon Mar 13 16:56:50 2023 +0200 feat(sankey): add new strategy `trajectory` for emphasis focus of sankey (#276) --- en/option/partial/emphasis-common.md | 5 +++++ en/option/series/sankey.md | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/en/option/partial/emphasis-common.md b/en/option/partial/emphasis-common.md index e4354aca..117dd5bb 100644 --- a/en/option/partial/emphasis-common.md +++ b/en/option/partial/emphasis-common.md @@ -49,6 +49,11 @@ When the data is highlighted, whether to fade out of other data to focus the hig + `'relative'` Focus on all ancestor and descendants nodes. (Since `v${version}`) {{ /if }} + +{{ if: ${isSankey} }} ++ `'trajectory'` Focus on all the elements connected to the node or edge in the graph. +{{ /if }} + **Example: ** {{ if: !${isGeoCoordSys} }} diff --git a/en/option/series/sankey.md b/en/option/series/sankey.md index b354e646..81d9c0cd 100644 --- a/en/option/series/sankey.md +++ b/en/option/series/sankey.md @@ -222,7 +222,8 @@ Configurations of emphasis state. ) }} {{ use: partial-focus-blur-scope( - isGraph = true + isGraph = true, + isSankey = true ) }} {{ use: sankey-state( --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org