option = { title: { text: 'Awesome Chart' }, tooltip: { trigger: 'axis', axisPointer: { // 坐标轴指示器,坐标轴触发有效 type: 'line' // 默认为直线,可选为:'line' | 'shadow' }, show: false }, grid: { left: '3%', right: '4%', bottom: '3%', containLabel: true }, xAxis: { data: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'] }, yAxis: { type: 'value', axisLine: { show: false }, axisTick: { show: false }, min: 0, minInterval: 1 }, series: [{ type: 'bar', data: [1, 2, 0, 3, 1, 2, 1] }] };