lxh преди 1 година
родител
ревизия
ad056f6463
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  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: {