linghaoSu commented on code in PR #20129:
URL: https://github.com/apache/echarts/pull/20129#discussion_r1672307580
##########
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:
在 selector 2中,如果使 Wetland 先取消选中,再点击全选,虽然图例 Wetland 被选了,但是图表中对应的红色柱状图并没有出现
https://github.com/apache/echarts/assets/56526981/3601dcea-ae6c-4071-af06-0736e4b93f6b
--
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]