{
color: ['#73a195', '#006e5d','#4B8BF4', '#05B7F7'], tooltip: { trigger: 'axis', axisPointer: { // 坐标轴指示器,坐标轴触发有效 type: 'shadow' // 默认为直线,可选为:'line' | 'shadow' } }, title: { text: '部门平均天数汇总', left: 'center', top:'5%' }, legend: { data: ['在库平均天数', '生产加工平均总天数','在库标准天数','生产标准天数'], bottom: '1', left: 'center'},
grid: { left: '1%', right: '4%', bottom: '10%', containLabel: true }, xAxis: { axisLine: { length:10, symbol: ['none', 'arrow'],//箭头一端没效果,一端箭头 symbolOffset:[0, 12]//箭头段移动8个像素 }, splitLine: { show: false }, type: 'value' }, yAxis: { axisLine: { symbol: ['none', 'arrow'], // 分别表示起始位置和终止位置是否使用箭头,默认不使用 symbolOffset:[0,11]//箭头段移动8个像素 }, type: 'category',data:['100000'] }, series: [ { name: '在库平均天数', type: 'bar', stack: '实际', label: { normal: { show: true, position: 'insideLeft', } },data:[1.2]},{ name: '生产加工平均总天数', type: 'bar', stack: '实际', label: { normal: { show: true, position: 'insideLeft', }, },data:[4.1] }, { name: '在库标准天数', type: 'bar', stack: '标准', label: { normal: { show: true, position: 'insideLeft', } },data:[2.0]},{ name: '生产标准天数', type: 'bar', stack: '标准', label: { normal: { show: true, position: 'insideLeft', }, },data:[2.9] }]}