1 option = { 2 xAxis: { 3 type: 'category', 4 data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] 5 }, 6 yAxis: { 7 type: 'value' 8 }, 9 series: [{ 10 data: [150, 230, 224, 218, 135, 147, 260], 11 type: 'line', 12 lineStyle: { 13 5, //阴影宽度 14 shadowColor: 'rgba(73,146,255,0.8)', //阴影颜色 15 shadowBlur: 6, //阴影模糊系数 16 shadowOffsetY: 20 //阴影Y轴偏移 17 }, 18 }] 19 };