| | |
| | | // 这里输入线条的样式 |
| | | color: 'rgba(255,255,255,0.14)' |
| | | } |
| | | } |
| | | }, |
| | | axisLabel: { |
| | | formatter: function(value) { |
| | | const intValue = Math.round(value); |
| | | return intValue > 0 ? intValue : ''; |
| | | } |
| | | }, |
| | | minInterval: 1, |
| | | min: 1 |
| | | }, |
| | | yAxis: { |
| | | type: 'category', |
| | |
| | | nameTextStyle: { |
| | | padding: [0, 0, 4, -30] // 四个数字分别为上右下左与原位置距离 |
| | | }, |
| | | axisLabel: { |
| | | formatter: function(value) { |
| | | const intValue = Math.round(value); |
| | | return intValue > 0 ? intValue : ''; |
| | | } |
| | | }, |
| | | minInterval: 1, |
| | | min: 1, |
| | | splitLine: { |
| | | show: true, |
| | | lineStyle: { |
| | |
| | | // 这里输入线条的样式 |
| | | color: 'rgba(255,255,255,0.14)' |
| | | } |
| | | } |
| | | }, |
| | | axisLabel: { |
| | | formatter: function(value) { |
| | | const intValue = Math.round(value); |
| | | return intValue > 0 ? intValue : ''; |
| | | } |
| | | }, |
| | | minInterval: 1, |
| | | min: 1 |
| | | }, |
| | | grid: { |
| | | top: '16%', |