Jelajahi Sumber

5.5首页图表修改

lxh 1 tahun lalu
induk
melakukan
ad056f6463
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      src/views/vent/home/colliery/components/wind-monitor.vue

+ 2 - 2
src/views/vent/home/colliery/components/wind-monitor.vue

@@ -35,7 +35,7 @@ function getOption() {
       const width = api.size([0, 1])[0] * barWidth; // 宽度
       const ballRadius = width * 0.6;
       return {
-        type: 'group',
+        type: 'item',
         children: [
           {
             // 圆形装饰
@@ -182,7 +182,7 @@ function getOption() {
           label: {
             normal: {
               show: true,
-              position: echartData.ydata.length > 0 && echartData.ydata.length <= 1 ? ['-17', '-30'] : ['-16', '-30'],
+              position: echartData.ydata.length > 0 && echartData.ydata.length <= 1 ? ['-17', '-20'] : ['-15', '-20'],
               formatter: [' {a|{c}}'].join(','),
               rich: {
                 a: {