Add shadow-related attributes to lineStyle in series:
option = {
......
series: [
{
......
lineStyle: {
normal: {
width: 4,
shadowColor: 'rgba(0,0,0,1)',
shadowBlur: 10,
shadowOffsetY: 10,
shadowOffsetX: 0,
......
}
},
......
}
]
};
No shadow effect added:
Add shadow effect: