option = { xAxis: { data: ['A', 'B', 'C'] }, yAxis: {}, series: { type: 'bar', data: [1, 2, 4], barWidth: 100, barMaxWidth: 20, // 百分比或数值都有效 } }