Pārlūkot izejas kodu

条形图优化

wangjianguo 8 gadi atpakaļ
vecāks
revīzija
5680e845fb

+ 7 - 3
VisualInspection/js/statistics/road_manage_statistics.js

@@ -953,10 +953,12 @@ $(function(){
 					data: array_points_pre,
 					itemStyle: {
 						normal: {
-							color:'#b3d4fc',
+							color:'#7bc0f2',
 							label: {
 								show: true,
-								position: 'insideTop'
+								textStyle: {
+									color:'black'
+								} 
 							}
 						}
 					},
@@ -970,7 +972,9 @@ $(function(){
 							color:'#ea644a',
 							label: {
 								show: true,
-								position: 'insideTop'
+								textStyle: {
+									color:'black'
+								} 
 							}
 						}
 					},

+ 7 - 3
VisualInspection/js/statistics/toll_station_statistics.js

@@ -1072,10 +1072,12 @@ $(function(){
 				data:array_points_pre,
 				itemStyle: {
 					normal: {
-						color:'#b3d4fc',
+						color:'#7bc0f2',
 						label: {
 							show: true,
-							position: 'insideTop'
+							textStyle: {
+								color:'black'
+							} 
 						}
 					}
 				},
@@ -1089,7 +1091,9 @@ $(function(){
 						color:'#ea644a',
 						label: {
 							show: true,
-							position: 'insideTop'
+							textStyle: {
+								color:'black'
+							} 
 						}
 					}
 				},

+ 7 - 3
VisualInspection/js/statistics/total_company_statistics.js

@@ -791,10 +791,12 @@ $(function(){
 					data:array_points_pre,
 					itemStyle: {
 						normal: {
-							color:'#b3d4fc',
+							color:'#7bc0f2',
 							label: {
 								show: true,
-								position: 'insideTop'
+								 textStyle: {
+                                   color:'black'
+                                } 
 							}
 						}
 					},
@@ -808,7 +810,9 @@ $(function(){
 							color:'#ea644a',
 							label: {
 								show: true,
-								position: 'insideTop'
+								textStyle: {
+                                   color:'black'
+                                } 
 							}
 						}
 					},