Enzeeun opened a new issue #16779: URL: https://github.com/apache/echarts/issues/16779
### Version 5.3.1 ### Link to Minimal Reproduction _No response_ ### Steps to Reproduce I tried the example from [echarts.apache.org](https://echarts.apache.org/examples/zh/editor.html?c=area-basic) . options as below: ```js option = { xAxis: { type: 'category', boundaryGap: false, data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] }, yAxis: { type: 'value' }, series: [ { data: [820, 932, 901, 934, 1290, 1330, 1320], type: 'line', areaStyle: { color: 'red', // opacity: 1, } } ] }; ``` ### Current Behavior <img width="758" alt="image" src="https://user-images.githubusercontent.com/100330514/160971522-727d92eb-6888-4d0b-a7ea-a431d3bf4293.png"> ### Expected Behavior <img width="395" alt="image" src="https://user-images.githubusercontent.com/100330514/160971663-fcb5b73e-fb2a-467c-b4c0-4105ae700771.png"> As doc says, default opacity should be 1 ? When I set opacity to 1, it behaves like this: <img width="732" alt="image" src="https://user-images.githubusercontent.com/100330514/160971878-d39ab94f-c497-44fe-b6f2-fe9224660e9d.png"> ### Environment ```markdown - OS: macOS Monterey - Browser:Chrome/98.0.4758.102 ``` ### Any additional comments? 我使用官网上的例子,areaStyle的透明度不设置时,好像默认带了透明度,但文档上面写的是1。其他地方,如axisPointer.shadowStyle就不出现这个现象。 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
