소스 검색

调整图表的左右间距

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',  
+                                }  
                             };
                         }