This is an automated email from the ASF dual-hosted git repository.

wangzx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-handbook.git


The following commit(s) were added to refs/heads/master by this push:
     new faba26e  fix wrong deprecation for sunburst (see 
https://github.com/apache/echarts/commit/c3cc56d0e057315103457d2196a09a0ecd4b1111)
faba26e is described below

commit faba26e7b6a5a4d93b4f0d7bd58fe9020d1f4c23
Author: plainheart <[email protected]>
AuthorDate: Thu Aug 22 17:17:02 2024 +0800

    fix wrong deprecation for sunburst (see 
https://github.com/apache/echarts/commit/c3cc56d0e057315103457d2196a09a0ecd4b1111)
---
 contents/en/basics/release-note/v5-upgrade-guide.md | 4 ++--
 contents/zh/basics/release-note/v5-upgrade-guide.md | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/contents/en/basics/release-note/v5-upgrade-guide.md 
b/contents/en/basics/release-note/v5-upgrade-guide.md
index 9133f9b..5bb6696 100644
--- a/contents/en/basics/release-note/v5-upgrade-guide.md
+++ b/contents/en/basics/release-note/v5-upgrade-guide.md
@@ -245,8 +245,8 @@ The deprecated API and their corresponding new API are 
listed as follows:
 - `custom series`:
   - In `renderItem`, the `api.style(...)` and `api.styleEmphasis(...)` are 
deprecated. Because it is not really necessary and hard to ensure backward 
compatibility. Users can fetch system designated visual by `api.visual(...)`.
 - `sunburst series`:
-  - Action type `highlight` is deprecated. Use `sunburstHighlight` instead.
-  - Action type `downplay` is deprecated. Use `sunburstUnhighlight` instead.
+  - Action type `sunburstHighlight` is deprecated. Use `highlight` instead.
+  - Action type `sunburstUnhighlight` is deprecated. Use `downplay` instead.
   - option `series.downplay` is deprecated. Use `series.blur` instead.
   - option `series.highlightPolicy` is deprecated. Use `series.emphasis.focus` 
instead.
 - `pie series`:
diff --git a/contents/zh/basics/release-note/v5-upgrade-guide.md 
b/contents/zh/basics/release-note/v5-upgrade-guide.md
index 05c8a80..11c90f2 100644
--- a/contents/zh/basics/release-note/v5-upgrade-guide.md
+++ b/contents/zh/basics/release-note/v5-upgrade-guide.md
@@ -247,8 +247,8 @@ yAxis: {
 - 自定义系列(`custom series`)。
   - 在 `renderItem` 中,`api.style(...)` 和 `api.styleEmphasis(...)` 
已不推荐使用。因为这两个接口其实并不真正必要,也很难保证向后兼容。用户可以通过 `api.visual(...)` 获取系统自动分配的视觉信息。
 - 旭日图(`sunburst`):
-  - 动作类型 `highlight` 已被弃用,请使用 `sunburstHighlight` 代替。
-  - 动作类型 `downplay` 已被弃用,请使用 `sunburstUnhighlight` 代替。
+  - 动作类型 `sunburstHighlight` 已被弃用,请使用 `highlight` 代替。
+  - 动作类型 `sunburstUnhighlight` 已被弃用,请使用 `downplay` 代替。
   - 选项 `series.downplay` 已被弃用,请使用 `series.blur` 代替。
   - 选项 `series.highlightPolicy` 已不适用,请使用 `series.emphasis.focus` 代替。
 - 饼图(`pie`):


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to