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-doc.git
The following commit(s) were added to refs/heads/master by this push:
new 2033251e add tip for `legendId`/`legendName`/`legendIndex` in legend
actions (apache/echarts#21025)
2033251e is described below
commit 2033251ebc6a14069fb1053c4b562b60ca726f1d
Author: plainheart <[email protected]>
AuthorDate: Wed Jun 11 09:06:16 2025 +0800
add tip for `legendId`/`legendName`/`legendIndex` in legend actions
(apache/echarts#21025)
---
en/api/action.md | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/en/api/action.md b/en/api/action.md
index 78268a1a..c628667d 100644
--- a/en/api/action.md
+++ b/en/api/action.md
@@ -141,8 +141,11 @@ dispatchAction({
name: string,
// The following parameters are supported since v5.6.0
+ // the id of target legend component
legendId: string,
+ // the index of target legend component
legendIndex: number,
+ // the name of target legend component
legendName: string
})
```
@@ -159,8 +162,11 @@ dispatchAction({
name: string,
// The following parameters are supported since v5.6.0
+ // the id of target legend component
legendId: string,
+ // the index of target legend component
legendIndex: number,
+ // the name of target legend component
legendName: string
})
```
@@ -176,8 +182,11 @@ dispatchAction({
name: string,
// The following parameters are supported since v5.6.0
+ // the id of target legend component
legendId: string,
+ // the index of target legend component
legendIndex: number,
+ // the name of target legend component
legendName: string
})
```
@@ -192,8 +201,11 @@ dispatchAction({
type: 'legendAllSelect',
// The following parameters are supported since v5.6.0
+ // the id of target legend component
legendId: string,
+ // the index of target legend component
legendIndex: number,
+ // the name of target legend component
legendName: string
})
```
@@ -208,8 +220,11 @@ dispatchAction({
type: 'legendInverseSelect',
// The following parameters are supported since v5.6.0
+ // the id of target legend component
legendId: string,
+ // the index of target legend component
legendIndex: number,
+ // the name of target legend component
legendName: string
})
```
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]