You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2018/11/13 08:03:12 UTC

[GitHub] PikachuHy commented on issue #8837: 希望提供 legend的反选按钮

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org