option = { title: { text: '对数轴示例', left: 'center' }, tooltip: { trigger: 'item', formatter: '{a} <br/>{b} : {c}' }, legend: { left: 'left', data: ['2的指数', '3的指数'] }, xAxis: { type: 'category', name: 'x', splitLine: {show: false}, data: ['一', '二', '三', '四', '五', '六', '七', '八', '九'] }, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, yAxis: { type: 'log', name: 'y' }, series: [ { name: '3的指数', type: 'line', data: [2, 2.3, 5, 2, 3.4, 5, 5] } ] };