File tree Expand file tree Collapse file tree 2 files changed +75
-10
lines changed
Expand file tree Collapse file tree 2 files changed +75
-10
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,12 @@ Selects legend.
138138dispatchAction ({
139139 type: ' legendSelect' ,
140140 // legend name
141- name: string
141+ name: string ,
142+
143+ // The following parameters are supported since v5.6.0
144+ legendId: string ,
145+ legendIndex: number ,
146+ legendName: string
142147})
143148```
144149
@@ -151,7 +156,12 @@ Unselects the legend.
151156dispatchAction ({
152157 type: ' legendUnSelect' ,
153158 // legend name
154- name: string
159+ name: string ,
160+
161+ // The following parameters are supported since v5.6.0
162+ legendId: string ,
163+ legendIndex: number ,
164+ legendName: string
155165})
156166```
157167
@@ -163,7 +173,12 @@ Toggles legend selecting state.
163173dispatchAction ({
164174 type: ' legendToggleSelect' ,
165175 // legend name
166- name: string
176+ name: string ,
177+
178+ // The following parameters are supported since v5.6.0
179+ legendId: string ,
180+ legendIndex: number ,
181+ legendName: string
167182})
168183```
169184
@@ -174,7 +189,12 @@ Selects all legends.
174189
175190``` ts
176191dispatchAction ({
177- type: ' legendAllSelect'
192+ type: ' legendAllSelect' ,
193+
194+ // The following parameters are supported since v5.6.0
195+ legendId: string ,
196+ legendIndex: number ,
197+ legendName: string
178198})
179199```
180200
@@ -185,7 +205,12 @@ Inverses all legends.
185205
186206``` ts
187207dispatchAction ({
188- type: ' legendInverseSelect'
208+ type: ' legendInverseSelect' ,
209+
210+ // The following parameters are supported since v5.6.0
211+ legendId: string ,
212+ legendIndex: number ,
213+ legendName: string
189214})
190215```
191216
Original file line number Diff line number Diff line change @@ -137,7 +137,15 @@ dispatchAction({
137137dispatchAction ({
138138 type: ' legendSelect' ,
139139 // 图例名称
140- name: string
140+ name: string ,
141+
142+ // 下列参数自 v5.6.0 起开始支持
143+ // 图例组件ID
144+ legendId: string ,
145+ // 图例组件索引
146+ legendIndex: number ,
147+ // 图例组件名称
148+ legendName: string
141149})
142150```
143151
@@ -150,7 +158,15 @@ dispatchAction({
150158dispatchAction ({
151159 type: ' legendUnSelect' ,
152160 // 图例名称
153- name: string
161+ name: string ,
162+
163+ // 下列参数自 v5.6.0 起开始支持
164+ // 图例组件ID
165+ legendId: string ,
166+ // 图例组件索引
167+ legendIndex: number ,
168+ // 图例组件名称
169+ legendName: string
154170})
155171```
156172
@@ -162,7 +178,15 @@ dispatchAction({
162178dispatchAction ({
163179 type: ' legendToggleSelect' ,
164180 // 图例名称
165- name: string
181+ name: string ,
182+
183+ // 下列参数自 v5.6.0 起开始支持
184+ // 图例组件ID
185+ legendId: string ,
186+ // 图例组件索引
187+ legendIndex: number ,
188+ // 图例组件名称
189+ legendName: string
166190})
167191```
168192
@@ -172,7 +196,15 @@ dispatchAction({
172196将图例全选。
173197``` ts
174198dispatchAction ({
175- type: ' legendAllSelect'
199+ type: ' legendAllSelect' ,
200+
201+ // 下列参数自 v5.6.0 起开始支持
202+ // 图例组件ID
203+ legendId: string ,
204+ // 图例组件索引
205+ legendIndex: number ,
206+ // 图例组件名称
207+ legendName: string
176208})
177209```
178210
@@ -182,7 +214,15 @@ dispatchAction({
182214将图例反选。
183215``` ts
184216dispatchAction ({
185- type: ' legendInverseSelect'
217+ type: ' legendInverseSelect' ,
218+
219+ // 下列参数自 v5.6.0 起开始支持
220+ // 图例组件ID
221+ legendId: string ,
222+ // 图例组件索引
223+ legendIndex: number ,
224+ // 图例组件名称
225+ legendName: string
186226})
187227```
188228
You can’t perform that action at this time.
0 commit comments