option = { legend: {}, tooltip: {}, xAxis: { type: 'category', data: ['a', 'b', 'c', 'd'], max: 2 }, yAxis: {}, series: [{ type: 'bar', label: { show: true, }, data: [10, 20, 30, 1000] } ] }