瀏覽代碼

调整图表的左右间距

Lijy 2 年之前
父節點
當前提交
ee4323f133
共有 1 個文件被更改,包括 8 次插入2 次删除
  1. 8 2
      fhKeeper/formulahousekeeper/timesheet/src/views/project/cost.vue

+ 8 - 2
fhKeeper/formulahousekeeper/timesheet/src/views/project/cost.vue

@@ -1040,7 +1040,10 @@
                                     type: 'bar',
                                     barMaxWidth: 30,
                                     data: yList,
-                                }]
+                                }],
+                                grid: {  
+                                    left: '100px',  
+                                }  
                             };
                         } else {
                             var option = {
@@ -1084,7 +1087,10 @@
                                     type: 'bar',
                                     barMaxWidth: 30,
                                     data: yList,
-                                }]
+                                }],
+                                grid: {  
+                                    left: '100px',  
+                                }  
                             };
                         }