BaconZhang commented on issue #10531: 一些特殊的数据在配置smooth后会导致areaStyle绘制了一部分 URL: https://github.com/apache/incubator-echarts/issues/10531#issuecomment-501540563 从cdn引入echarts并在本地复现 ```html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> <script src="https://cdnjs.cloudflare.com/ajax/libs/echarts/4.2.1/echarts.js"></script> </head> <body> <div id="mychart" style="width: 80vw; height: 80vh;"></div> <script> const chart = window.echarts.init(document.getElementById("mychart")); const option = { xAxis: { type: 'time', }, yAxis: { type: 'value' }, series: [{ data: [ [1558540800000, 15.620000000000001], [1558541700000, 22.92], [1558542600000, 50.47], [1558543500000, 96.64], [1558544400000, 81.34], [1558545300000, 16.03], [1558546200000, 62.67], [1558547100000, 53.160000000000004], [1558548000000, 18.39], [1558548900000, 55.01], [1558549800000, 75.21000000000001], [1558550700000, 49.7], [1558551600000, 24.55], [1558552500000, 68.43], [1558553400000, 37.06], [1558554300000, 17.82], [1558555200000, 27.71], [1558556100000, 88.12], [1558557000000, 30.28], [1558557900000, 72.64], [1558558800000, 50.13], [1558559700000, 34.35], [1558560600000, 21.67], [1558561500000, 91.51], [1558562400000, 98.88], [1558563300000, 65.22], [1558564200000, 95.03], [1558565100000, 42.21], [1558566000000, 96.03], [1558566900000, 5.33], [1558567800000, -0.1], [1558568700000, 70.13], [1558569600000, 42.87], [1558570500000, 95.55], [1558571400000, 83.41], [1558572300000, 97.9], [1558573200000, 63.370000000000005], [1558574100000, 17.41], [1558575000000, 14.01], [1558575900000, 27], [1558576800000, 78.42], [1558577700000, 15.05], [1558578600000, 31.44], [1558579500000, 44.15], [1558580400000, 82.18], [1558581300000, 78.55], [1558582200000, 12.43] ], type: 'line', areaStyle: {}, smooth: true, smoothMonotone: 'x' }], dataZoom: [ { type: 'slider', start: 0, end: 100, bottom: 25, height: 20, backgroundColor: 'rgba(226,227,229,0.5)', // 组件的背景色 fillerColor: 'rgba(142,177,224,0.3)', // 选中范围的填充色 textStyle: { fontSize: 10 } }, { type: 'inside' } ] }; chart.setOption(option); </script> </body> </html> ```
---------------------------------------------------------------- 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