PikachuHy commented on issue #8837: 希望提供 legend的反选按钮
URL: 
https://github.com/apache/incubator-echarts/issues/8837#issuecomment-438172194
 
 
   樓上正解
   ```
           const legends = this.data.columns
           for (let i = 1; i < legends.length; i++) {
             this.echart.dispatchAction({
               type: 'legendToggleSelect',
               // 图例名称
               name: legends[i]
             })
           }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to