This is an automated email from the ASF dual-hosted git repository.
sushuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git
The following commit(s) were added to refs/heads/master by this push:
new c3eaff8 fix: Fix apache/incubator-echarts#12718
new effe532 Merge branch 'master' of
github.com:apache/incubator-echarts-doc
c3eaff8 is described below
commit c3eaff817e255514842acc0c74af2f5eeb9a3fe6
Author: 100pah <[email protected]>
AuthorDate: Sun May 31 19:01:36 2020 +0800
fix: Fix apache/incubator-echarts#12718
---
en/api/action.md | 7 +++++--
zh/api/action.md | 7 ++++---
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/en/api/action.md b/en/api/action.md
index bb0ef63..c6f45c6 100644
--- a/en/api/action.md
+++ b/en/api/action.md
@@ -313,13 +313,16 @@ Highlight the specified node and all of its adjacent
nodes.
dispatchAction({
type: 'focusNodeAdjacency',
- // Use seriesId or seriesIndex or seriesName to location the series.
+ // Use seriesId or seriesIndex or seriesName to specify
+ // the target series.
seriesId: 'xxx',
seriesIndex: 0,
seriesName: 'nnn',
- // Use dataIndex to location the node.
+ // Use either `dataIndex` or `edgeDataIndex` to specify
+ // the target node or target edge.
dataIndex: 12
+ edgeDataIndex: 5
})
```
diff --git a/zh/api/action.md b/zh/api/action.md
index 3b385dc..42867d8 100644
--- a/zh/api/action.md
+++ b/zh/api/action.md
@@ -324,13 +324,14 @@ dispatchAction({
dispatchAction({
type: 'focusNodeAdjacency',
- // 使用 seriesId 或 seriesIndex 或 seriesName 来定位 series.
+ // 使用 seriesId 或 seriesIndex 或 seriesName 来指定 series.
seriesId: 'xxx',
seriesIndex: 0,
seriesName: 'nnn',
- // 使用 dataIndex 来定位节点。
- dataIndex: 12
+ // 使用 dataIndex 来指定目标节点,或者使用 edgeDataIndex 来指定目标边。
+ dataIndex: 12,
+ edgeDataIndex: 5
})
```
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]