series中lineStyle添加阴影相关的属性:
option = {
......
series: [
{
......
lineStyle: {
normal: {
width: 4,
shadowColor: 'rgba(0,0,0,1)',
shadowBlur: 10,
shadowOffsetY: 10,
shadowOffsetX: 0,
......
}
},
......
}
]
};
未添加阴影效果:
添加阴影效果: