Skip to content

Commit 6567396

Browse files
committed
docs: nameKey >> nodeKey
1 parent 00edbc0 commit 6567396

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/assets/examples/en/sankey-chart/nameKey-sankey.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ option: sankeyChart
1313
The links of a Sankey diagram have a source node and an end node (source), and nodes can be represented in two forms:
1414

1515
- By default, the index value of nodes is used.
16-
- By configuring the callback function of nameKey, use the node name as the starting and ending nodes of the edge.
17-
This example uses the callback function of nameKey as the node configuration of the edge.
16+
- By configuring the callback function of nodeKey, use the node name as the starting and ending nodes of the edge.
17+
This example uses the callback function of nodeKey as the node configuration of the edge.
1818

1919
## Key option
2020

docs/assets/examples/zh/sankey-chart/nameKey-sankey.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ option: sankeyChart
1313
桑基图的边具有起点节点(source)和终点节点(source),可以使用两种形式来表示节点:
1414

1515
- 默认使用 nodes 的索引值。
16-
- 通过配置 nameKey 的回调函数,使用节点名称作为边的起点节点和终点节点。
17-
这个例子就使用 nameKey 的回调函数作为边的节点配置的。
16+
- 通过配置 nodeKey 的回调函数,使用节点名称作为边的起点节点和终点节点。
17+
这个例子就使用 nodeKey 的回调函数作为边的节点配置的。
1818

1919
## 关键配置
2020

0 commit comments

Comments
 (0)