plainheart commented on code in PR #20129:
URL: https://github.com/apache/echarts/pull/20129#discussion_r1673272992


##########
src/component/legend/LegendView.ts:
##########
@@ -329,7 +329,8 @@ class LegendView extends ComponentView {
                 },
                 onclick() {
                     api.dispatchAction({
-                        type: type === 'all' ? 'legendAllSelect' : 
'legendInverseSelect'
+                        type: type === 'all' ? 'legendAllSelect' : 
'legendInverseSelect',
+                        legendId: legendModel.id

Review Comment:
   貌似当前最新版本在有两个 legend 组件时也存在类似问题,比如先点第 2 个组件的 Wetland,然后再点击全选,可以看到 legend 
是全选了,但对应的 series 没再显示出来。🤔 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to