diff --git a/en/api/action.md b/en/api/action.md index 81cfcaf8b..b6add6848 100644 --- a/en/api/action.md +++ b/en/api/action.md @@ -41,7 +41,7 @@ Chart actions supported by ECharts are triggered through [dispatchAction](~echar Highlights specified data graphics. ```ts -// If highlight series: +// If highlight series(in the `sunburst` series,`highlight` has been deprecated since `v5.0.0`, please use `sunburstHighlight` instead): dispatchAction({ type: 'highlight', @@ -66,7 +66,7 @@ dispatchAction({ Downplay specified data graphics. ```ts -// If downplay series: +// If downplay series(in the `sunburst` series,`downplay` has been deprecated since `v5.0.0`, please use `sunburstUnhighlight` instead): dispatchAction({ type: 'downplay', diff --git a/zh/api/action.md b/zh/api/action.md index 9b3c256c8..7c84a1377 100644 --- a/zh/api/action.md +++ b/zh/api/action.md @@ -40,7 +40,7 @@ ECharts 中支持的图表行为,通过 [dispatchAction](~echartsInstance.disp 高亮指定的数据图形。 ```ts -// 如果要高亮系列: +// 如果要高亮系列(旭日图`sunburst`,从 `v5.0.0` 开始`highlight` 已被弃用,请使用 `sunburstHighlight` 代替): dispatchAction({ type: 'highlight', @@ -64,7 +64,7 @@ dispatchAction({ 取消高亮指定的数据图形。 ```ts -// 如果要取消高亮系列: +// 如果要取消高亮系列(旭日图`sunburst`,从 `v5.0.0` 开始`downplay` 已被弃用,请使用 `sunburstUnhighlight` 代替): dispatchAction({ type: 'downplay',