图表添加红线

markLine: {
data: [{
borderWidth: 1,
lineStyle: {
type: 'dash',
color: '#B23B4D',
width: 2,
},
label: {
formatter: '盈亏平衡线',
position: 'middle',
textStyle: {
color: '#ffffff',
fontSize: 10,
fontWeight: "bolder",
},
},
yAxis: 1500
}
]
}

posted @ 2018-11-12 16:12  简单就好zyx  阅读(166)  评论(0编辑  收藏  举报