hiwanz commented on issue #5546: axisPointer:{type:"cross"}横线如何吸附在线图上
URL:
https://github.com/apache/incubator-echarts/issues/5546#issuecomment-419010749
我猜是这个效果
```javascript
option = {
tooltip:{
show: true,
trigger: 'axis',
axisPointer:{
type: 'cross',
axis: 'y',
crossStyle:{
type: 'solid'
}
}
},
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
series: [{
data: [820, 932, 901, 934, 1290, 1330, 1320],
type: 'line'
}]
};
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]