eeve commented on issue #4643:
URL: https://github.com/apache/echarts/issues/4643#issuecomment-2556237081
仅供参考:
```js
var line1Data = [820, 932, 901, 934, 1290, 1330, 1320];
var line2Data = [420, 132, 1201, 634, 690, 1830, 820];
// line1Data 和 line2Data 围成的圈
var line3Data = line1Data.map((d, i) => [i, d]).concat(
[...line2Data].reverse().map((d, i) => [line1Data.length - i - 1, d])
);
option = {
xAxis: {
type: "category",
data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"]
},
yAxis: {},
series: [
{
data: line1Data,
type: "line"
},
{
data: line2Data,
type: "line"
},
{
data: line3Data,
areaStyle: {},
lineStyle: {
width: 0 // 只显示填充部分,不显示线部分
},
type: "line"
}
]
}
```
效果图:

--
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]