series: [ { name: '值', type: 'bar', stack: '总量', //设置柱状图大小 barWidth : 20, //设置柱状图渐变颜色 itemStyle: { normal: { color: new echarts.graphic.LinearGradient( 0, 0, 1, 0, // 0,0,1,0表示从左向右 0,0,0,1表示从右向左 [ {offset: 1, color: '#83bff6'}, {offset: 0, color: '#1…