option = {
xAxis: {},
yAxis: {},
series: [{
symbolSize: 20,
data: [
[10.0, 8.04],
[8.0, 6.95],
[13.0, 7.58],
[9.0, 8.81],
[11.0, 8.33],
],
type: 'scatter',
markLine: {
symbol: 'none',
data: [
[{
coord: [5,4.3]
},{
coord: [5,7.3]
}],
[{
coord: [5,4.3]
},{
coord: [10,4.3]
}]
]
}
}]
};
二、效果图