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

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to