| | |
| | | left: 'left' // 标题位置 |
| | | }, |
| | | xAxis: { |
| | | data: ['8:00', '9:00', '10:00','11:00', '12:00', '13:00', '14:00', '15:00', '16:00', '17:00', '18:00', '19:00', '20:00','21:00','22:00'], |
| | | data: ['8:00', '9:00', '10:00','11:00', '12:00', '13:00', '14:00', '15:00', '16:00', '17:00', '18:00', '19:00', '20:00','21:00','22:00','23:00'], |
| | | boundaryGap: false, |
| | | axisTick: { |
| | | show: false |
| | | } |
| | | }, |
| | | type: 'category', |
| | | axisLabel: { |
| | | interval: 0, |
| | | rotate: 45, |
| | | }, |
| | | }, |
| | | grid: { |
| | | left: 10, |
| | | right: 10, |
| | | left: 20, |
| | | right: 20, |
| | | bottom: 20, |
| | | top: 30, |
| | | containLabel: true |
| | |
| | | yAxis: { |
| | | axisTick: { |
| | | show: false |
| | | } |
| | | }, |
| | | min:0, |
| | | max: this.data.length === 0 ? 100 : null |
| | | }, |
| | | legend: { |
| | | data: this.legendTitle |