吉安感知网项目-前端
shuishen
2026-01-19 42e8be72925e16874b21e638cf4e026b5af9d851
applications/drone-command/src/views/basicManage/deviceStock/DeviceChart3.vue
@@ -42,7 +42,7 @@
         top: 15,
         left: 10,
         right: 10,
         bottom: 10,
         bottom: 0,
         containLabel: true,
      },
      tooltip: {
@@ -76,10 +76,19 @@
            color: '#FFFFFF',
            fontSize: 12,
            interval: 0,
            rotate: 25,
            margin: 8,
            formatter: value => {
               if (value == null) return ''
               const text = String(value)
               return text.length > 4 ? `${text.slice(0, 4)}...` : text
            },
         },
      },
      yAxis: {
         type: 'value',
         min: 1,
         minInterval: 1,
         axisLabel: {
            color: '#FFFFFF',
            fontSize: 12,
@@ -115,8 +124,9 @@
            symbolRepeat: 'fixed',
            symbolMargin: 3,
            symbol: 'rect',
            symbolClip: false,
            symbolClip: true,
            symbolPosition: 'end',
            clip: true,
            symbolSize: [10, 3],
            data: values,
            z: 2,