You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/10/05 23:34:14 UTC

[GitHub] [incubator-echarts] helgasoft commented on issue #12709: Disable or hide the chart when data is null

helgasoft commented on issue #12709:
URL: https://github.com/apache/incubator-echarts/issues/12709#issuecomment-703944283


   Did you try to control it thru _legend.selected_ ?  It works:
   ```js
           legend: {
               right: 20,
               data: ['SGE', 'XAU', 'London'],
               selected: { 'SGE': true, 'XAU': true, 'London': false }   // false hides it
           },
   ```


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



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