Yangjia23 opened a new issue #10958: 折线图设置透明圆点,导致 legend icon 与背景色相同,无法正常显示 URL: https://github.com/apache/incubator-echarts/issues/10958 ### Version 4.2.1 ### Reproduction link [https://kzykf.csb.app/#/line](https://kzykf.csb.app/#/line) ### Steps to reproduce ``` { name: "南宁-曼芭", type: "line", symbol: "circle", lineStyle: { normal: { width: 1, color: "rgb(0,136,212)" } }, areaStyle: { normal: { color: new echarts.graphic.LinearGradient( 0, 0, 0, 1, [ { offset: 0, color: "rgba(137, 189, 27, 0.3)" }, { offset: 0.8, color: "rgba(137, 189, 27, 0)" } ], false ), shadowColor: "rgba(0, 0, 0, 0.1)", shadowBlur: 10 } }, itemStyle: { normal: { color: "#394056", borderColor: "rgb(0,136,212)" } }, data: [ 96.3, 96.4, 97.5, 95.6, 98.1, 94.8, 89.6, 94.1, 80.1, 52.4, 75.8, 94.7 ] }, ``` 设置 itemStyle 为背景色后,导致 legend icon 与背景色也相同, ### What is expected? 可以自定义设置 legend icon 的颜色 ### What is actually happening? legend icon 与背景色也相同,无法正常显示 <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
