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


##########
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 组件的全选/反选应该只针对组件自身所负责的项目,不应全局。



-- 
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