Przeglądaj źródła

数据展示修改

liuzhen 5 lat temu
rodzic
commit
47f11f833e
2 zmienionych plików z 32 dodań i 16 usunięć
  1. 16 8
      WebChart/js/huawu.js
  2. 16 8
      WebChart/js/zhongxin.js

+ 16 - 8
WebChart/js/huawu.js

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

+ 16 - 8
WebChart/js/zhongxin.js

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