ssthouse commented on issue #15175:
URL: https://github.com/apache/echarts/issues/15175#issuecomment-863710395
@elewen Hi, 可以给个具体的例子吗,我这边试了下没有问题:
**option配置**
```javascript
option = {
xAxis: {
type: "category",
data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"]
},
yAxis: {},
series: [
{
data: [1820, 932, 901, 934, 1290, 1330, 11320],
type: "line",
markLine: {
data: [{
type: "average",
lineStyle: {
type: 'solid',
width: 3,
}
}],
silent: true
}
},
{
z:10,
data: [20, 1932, 1901, 9314, 12190, 13310, 13120],
type: "line",
lineStyle: {
width: 5,
},
markLine: {
data: [{
type: "average",
lineStyle: {
type: 'solid',
width: 3,
}
}],
silent: true
}
}
]
}
```
**效果:**
绿色series(z为10),显示在蓝色series的markLine上方

--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]