Hwt il y a 2 ans
Parent
commit
b1e0e82981

+ 11 - 4
operationSupport/src/views/newWorkBench/components/indexOptionChart.js

@@ -529,8 +529,15 @@ export const columnOptionsChartName = (name = '', xAxis = [], series = [], color
                 show: false // 不显示坐标轴刻度
             },
             axisLabel: {
+                // interval: 0,
                 formatter: function (params, index) {
-                    return params;
+                    console.log('88888', params);
+                    if (params.length > 5) {
+                        return `${params.slice(0, 3)}...`;
+                    } else {
+                        return params;
+                    }
+                    // return params;
                 },
                 color: '#9B9DA5',
                 margin: 15
@@ -1258,7 +1265,7 @@ export const quantitativeAnalysisProblems = (name = [], namexAxis = '', nameyAxi
                 data: item.data,
                 color: defaultColor[index][0],
                 symbolSize: function (data) {
-                    return data || 0;
+                    return data * 5 || 0;
                 }
             });
         });
@@ -1286,8 +1293,8 @@ export const quantitativeAnalysisProblems = (name = [], namexAxis = '', nameyAxi
             }
         },
         grid: {
-            top: 60,
-            left: 5,
+            top: 75,
+            left: 8,
             bottom: 0,
             right: 0,
             containLabel: true