tooltip: {
trigger: "axis",
axisPointer: {
type: "shadow",//背景色
shadowStyle: {
color: "rgba(0,246,255,0.1)"//背景色设置
}
},
//提示框样式调整
extraCssText: 'width:200px;height:80px;line-height:30px;background:rgba(0,0,0,0.5);font-size:18px;padding:10px 0;text-align:center;'
},
例子如图: