Ver Fonte

调整图表的左右间距

Lijy há 2 anos atrás
pai
commit
ee4323f133

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