From 5bf6a6c147f1e3c4d10a6453d5cadb9a3bc96102 Mon Sep 17 00:00:00 2001 From: sz-p Date: Mon, 11 Nov 2024 19:41:33 +0800 Subject: [PATCH] docs(sunburst): add new emphasis focus strategy 'relative' for highlighting ancestor and descendant nodes --- en/option/series/sunburst.md | 4 +++- zh/option/series/sunburst.md | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/en/option/series/sunburst.md b/en/option/series/sunburst.md index 6927ec23..867ca29a 100644 --- a/en/option/series/sunburst.md +++ b/en/option/series/sunburst.md @@ -314,7 +314,9 @@ The start angle, which range is [0, 360]. Configurations of emphasis state. {{ use: partial-focus-blur-scope( - isTree = true + isTree = true, + hasRelative = true, + relativeVersion = '5.5.2' ) }} {{ use: partial-sunburst-state( diff --git a/zh/option/series/sunburst.md b/zh/option/series/sunburst.md index 5b0958bf..1dad6837 100644 --- a/zh/option/series/sunburst.md +++ b/zh/option/series/sunburst.md @@ -463,7 +463,9 @@ function(nodeA, nodeB) { 高亮状态配置。 {{ use: partial-focus-blur-scope( - isTree = true + isTree = true, + hasRelative = true, + relativeVersion = '5.5.2' ) }} {{ use: partial-sunburst-state(