折线点和折线颜色
itemStyle: {normal: {color: "#386db3",//折线点的颜色lineStyle: {color: "#386db3"//折线的颜色}}}
渐变效果:

import echarts from 'echarts' // 需引入...series: [{name: '行业一',type: 'line',stack: 'Total',smooth: true,itemStyle: {normal: {color: 'rgb(255, 0, 135)',// 折线点颜色lineStyle: {color: 'rgb(255, 0, 135)',// 折线颜色}}},areaStyle: {opacity: 0.8,color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0,color: 'rgb(255, 0, 135)'},{offset: 1,color: 'rgb(135, 0, 135)'}])},data: [120, 132, 101, 134, 90, 230, 210]},{name: '行业二',type: 'line',stack: 'Total',smooth: true,itemStyle: {normal: {color: 'rgb(128, 255, 165)',lineStyle: {color: 'rgb(128, 255, 165)',}}},areaStyle: {opacity: 0.8,color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0,color: 'rgb(128, 255, 165)'},{offset: 1,color: 'rgb(1, 191, 236)'}])},data: [220, 182, 191, 234, 290, 330, 310]},{name: '行业三',type: 'line',stack: 'Total',smooth: true,itemStyle: {normal: {color: 'rgb(55, 162, 255)',lineStyle: {color: 'rgb(55, 162, 255)',}}},areaStyle: {opacity: 0.8,color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0,color: 'rgb(55, 162, 255)'},{offset: 1,color: 'rgb(116, 21, 219)'}])},data: [820, 932, 901, 934, 1290, 1330, 132]}]
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ // 关键点方法{offset: 0,color: 'rgb(128, 255, 165)'},{offset: 1,color: 'rgb(1, 191, 236)'}]) // 数组, 用于配置颜色的渐变过程.// 每一项为一个对象, 包含offset和color两个参数. offset的范围是0 ~ 1,// 用于表示位置
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
4个参数用于配置渐变色的起止位置, 这4个参数依次对应右/下/左/上四个方位. 而0 0 0 1则代表渐变色从正上方开始
