liuzhen лет назад: 5
Родитель
Сommit
47f11f833e
2 измененных файлов с 32 добавлено и 16 удалено
  1. 16 8
      WebChart/js/huawu.js
  2. 16 8
      WebChart/js/zhongxin.js

+ 16 - 8
WebChart/js/huawu.js

@@ -474,7 +474,8 @@ function part2ExportFun() {
474 474
 					barColor: 'rgb(135,206,235)',
475 475
 					barWidth: 8,
476 476
 					initValue:dataScore[0],
477
-					roundCorner: true
477
+					roundCorner: true,
478
+					maxValue:5000
478 479
 					//    percentage: true
479 480
 				});
480 481
 				$('.text1').radialIndicator({
@@ -483,7 +484,8 @@ function part2ExportFun() {
483 484
 					barColor: 'rgb(135,206,235)',
484 485
 					barWidth: 8,
485 486
 					initValue:dataScore[1],
486
-					roundCorner: true
487
+					roundCorner: true,
488
+					maxValue:5000
487 489
 					//    percentage: true
488 490
 				});
489 491
 				$('.text2').radialIndicator({
@@ -492,7 +494,8 @@ function part2ExportFun() {
492 494
 					barColor: 'rgb(135,206,235)',
493 495
 					barWidth: 8,
494 496
 					initValue:dataScore[2],
495
-					roundCorner: true
497
+					roundCorner: true,
498
+					maxValue:5000
496 499
 					//    percentage: true
497 500
 				});
498 501
 				$('.text3').radialIndicator({
@@ -501,7 +504,8 @@ function part2ExportFun() {
501 504
 					barColor: 'rgb(135,206,235)',
502 505
 					barWidth: 8,
503 506
 					initValue:dataScore[3],
504
-					roundCorner: true
507
+					roundCorner: true,
508
+					maxValue:5000
505 509
 					//    percentage: true
506 510
 				});$('.text4').radialIndicator({
507 511
 					radius: 40,
@@ -509,7 +513,8 @@ function part2ExportFun() {
509 513
 					barColor: 'rgb(135,206,235)',
510 514
 					barWidth: 8,
511 515
 					initValue:dataScore[4],
512
-					roundCorner: true
516
+					roundCorner: true,
517
+					maxValue:5000
513 518
 					//    percentage: true
514 519
 				});$('.text5').radialIndicator({
515 520
 					radius: 40,
@@ -517,7 +522,8 @@ function part2ExportFun() {
517 522
 					barColor: 'rgb(135,206,235)',
518 523
 					barWidth: 8,
519 524
 					initValue:dataScore[5],
520
-					roundCorner: true
525
+					roundCorner: true,
526
+					maxValue:5000
521 527
 					//    percentage: true
522 528
 				});$('.text6').radialIndicator({
523 529
 					radius: 40,
@@ -525,7 +531,8 @@ function part2ExportFun() {
525 531
 					barColor: 'rgb(135,206,235)',
526 532
 					barWidth: 8,
527 533
 					initValue:dataScore[6],
528
-					roundCorner: true
534
+					roundCorner: true,
535
+					maxValue:5000
529 536
 					//    percentage: true
530 537
 				});
531 538
 				$('.text7').radialIndicator({
@@ -534,7 +541,8 @@ function part2ExportFun() {
534 541
 					barColor: 'rgb(135,206,235)',
535 542
 					barWidth: 8,
536 543
 					initValue:dataScore[7],
537
-					roundCorner: true
544
+					roundCorner: true,
545
+					maxValue:5000
538 546
 					//    percentage: true
539 547
 				});
540 548
    	   		}

+ 16 - 8
WebChart/js/zhongxin.js

@@ -98,7 +98,8 @@
98 98
 					barColor: 'rgb(135,206,235)',
99 99
 					barWidth: 8,
100 100
 					initValue:dataScore[0],
101
-					roundCorner: true
101
+					roundCorner: true,
102
+					maxValue:5000
102 103
 					//    percentage: true
103 104
 				});
104 105
 				$('.text1').radialIndicator({
@@ -107,7 +108,8 @@
107 108
 					barColor: 'rgb(135,206,235)',
108 109
 					barWidth: 8,
109 110
 					initValue:dataScore[1],
110
-					roundCorner: true
111
+					roundCorner: true,
112
+					maxValue:5000
111 113
 					//    percentage: true
112 114
 				});
113 115
 				$('.text2').radialIndicator({
@@ -116,7 +118,8 @@
116 118
 					barColor: 'rgb(135,206,235)',
117 119
 					barWidth: 8,
118 120
 					initValue:dataScore[2],
119
-					roundCorner: true
121
+					roundCorner: true,
122
+					maxValue:5000
120 123
 					//    percentage: true
121 124
 				});
122 125
 				$('.text3').radialIndicator({
@@ -125,7 +128,8 @@
125 128
 					barColor: 'rgb(135,206,235)',
126 129
 					barWidth: 8,
127 130
 					initValue:dataScore[3],
128
-					roundCorner: true
131
+					roundCorner: true,
132
+					maxValue:5000
129 133
 					//    percentage: true
130 134
 				});$('.text4').radialIndicator({
131 135
 					radius: 40,
@@ -133,7 +137,8 @@
133 137
 					barColor: 'rgb(135,206,235)',
134 138
 					barWidth: 8,
135 139
 					initValue:dataScore[4],
136
-					roundCorner: true
140
+					roundCorner: true,
141
+					maxValue:5000
137 142
 					//    percentage: true
138 143
 				});$('.text5').radialIndicator({
139 144
 					radius: 40,
@@ -141,7 +146,8 @@
141 146
 					barColor: 'rgb(135,206,235)',
142 147
 					barWidth: 8,
143 148
 					initValue:dataScore[5],
144
-					roundCorner: true
149
+					roundCorner: true,
150
+					maxValue:5000
145 151
 					//    percentage: true
146 152
 				});$('.text6').radialIndicator({
147 153
 					radius: 40,
@@ -149,7 +155,8 @@
149 155
 					barColor: 'rgb(135,206,235)',
150 156
 					barWidth: 8,
151 157
 					initValue:dataScore[6],
152
-					roundCorner: true
158
+					roundCorner: true,
159
+					maxValue:5000
153 160
 					//    percentage: true
154 161
 				});
155 162
 				$('.text7').radialIndicator({
@@ -158,7 +165,8 @@
158 165
 					barColor: 'rgb(135,206,235)',
159 166
 					barWidth: 8,
160 167
 					initValue:dataScore[7],
161
-					roundCorner: true
168
+					roundCorner: true,
169
+					maxValue:5000
162 170
 					//    percentage: true
163 171
 				});
164 172
    	   		}