Browse Source

首页bug修改

lizaixun 4 years atrás
parent
commit
666bfacb04
1 changed files with 6 additions and 6 deletions
  1. 6 6
      components/windFarmcard/WindFarmcard.vue

+ 6 - 6
components/windFarmcard/WindFarmcard.vue

@@ -238,9 +238,9 @@
 					legend: {
 						show: true,
 						position: 'top',
-						float: 'right',
+						float: 'left',
 						fontColor: 'silver',
-						itemGap: '9',
+						itemGap: '4',
 						itemWidth: '3'
 					},
 					dataLabel: false,
@@ -284,7 +284,7 @@
 								titleFontColor: 'silver'
 							}
 						],
-						disabled: true,
+						disabled: false,
 						gridColor: '#2E2E2E',
 						splitNumber: 4,
 						gridType: 'solid',
@@ -297,9 +297,9 @@
 					// width: _self.windStationCardCWidth * _self.windStationCardPixelRatio,
 					// height: _self.windStationCardCHeight * _self.windStationCardPixelRatio,
 					
-					width: 300,
-					height:300,
-					padding: [10, 0, 0, 0], //画布填充边距,顺序为上右下左,同css,但必须4位
+					width: 240,
+					height:150,
+					padding: [10, 0, 0, 5], //画布填充边距,顺序为上右下左,同css,但必须4位
 					extra: {
 						line: {
 							type: 'line',