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 2022/09/01 05:22:39 UTC

[GitHub] [echarts] plainheart commented on issue #17604: [Bug] 多个折线图中,legend的icon没用,我看之前也有issue说修复过了,但还是会出现问题

plainheart commented on issue #17604:
URL: https://github.com/apache/echarts/issues/17604#issuecomment-1233755646

   似乎是因为 series 的 `itemStyle.opacity` 为 `0` 导致的,可以手动设置下 legend 的 `itemStyle.opacity` 来覆盖下。
   
   ```js
   legend: {
     icon: 'circle',
     itemStyle: {
       opacity: 1
     }
   }
   ``` 


-- 
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: commits-unsubscribe@echarts.apache.org

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