MrShi
2025-05-21 e5e5a84d84e7a2b4715bd58096043e565ae0e107
admin/src/views/index.vue
@@ -563,7 +563,15 @@
              // 这里输入线条的样式
              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',
@@ -626,6 +634,14 @@
          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: {
@@ -732,8 +748,16 @@
              // 这里输入线条的样式
              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%',
          left: '2%',