@@ -93,10 +93,8 @@ export class EchartsService {
93
93
show : false ,
94
94
} ,
95
95
axisLabel : {
96
- textStyle : {
97
- color : 'rgba(103, 103, 103, 1)' ,
98
- fontSize : 14 ,
99
- } ,
96
+ color : 'rgba(103, 103, 103, 1)' ,
97
+ fontSize : 14 ,
100
98
interval : 10 ,
101
99
rotate : 0 ,
102
100
} ,
@@ -115,9 +113,7 @@ export class EchartsService {
115
113
show : false ,
116
114
} ,
117
115
axisLabel : {
118
- textStyle : {
119
- color : 'rgba(103, 103, 103, 1)' ,
120
- } ,
116
+ color : 'rgba(103, 103, 103, 1)' ,
121
117
} ,
122
118
show : true ,
123
119
minInterval : 10 ,
@@ -137,11 +133,9 @@ export class EchartsService {
137
133
} ,
138
134
139
135
label : {
140
- normal : {
141
- show : false ,
142
- position : 'top' ,
143
- color : 'rgba(255, 255, 255, 1)' ,
144
- } ,
136
+ show : false ,
137
+ position : 'top' ,
138
+ color : 'rgba(255, 255, 255, 1)' ,
145
139
} ,
146
140
areaStyle : {
147
141
color : {
@@ -183,26 +177,24 @@ export class EchartsService {
183
177
width : 3 ,
184
178
} ,
185
179
itemStyle : {
186
- normal : {
187
- opacity : 1 ,
188
- color : {
189
- x : 0 ,
190
- y : 0 ,
191
- x2 : 0 ,
192
- y2 : 1 ,
193
- type : 'linear' ,
194
- global : false ,
195
- colorStops : [
196
- {
197
- offset : 0 ,
198
- color : 'rgba(157, 245, 5, 1)' ,
199
- } ,
200
- {
201
- offset : 1 ,
202
- color : 'rgba(23, 240, 248, 0.84)' ,
203
- } ,
204
- ] ,
205
- } ,
180
+ opacity : 1 ,
181
+ color : {
182
+ x : 0 ,
183
+ y : 0 ,
184
+ x2 : 0 ,
185
+ y2 : 1 ,
186
+ type : 'linear' ,
187
+ global : false ,
188
+ colorStops : [
189
+ {
190
+ offset : 0 ,
191
+ color : 'rgba(157, 245, 5, 1)' ,
192
+ } ,
193
+ {
194
+ offset : 1 ,
195
+ color : 'rgba(23, 240, 248, 0.84)' ,
196
+ } ,
197
+ ] ,
206
198
} ,
207
199
} ,
208
200
symbolSize : 0 ,
@@ -239,21 +231,15 @@ export class EchartsService {
239
231
emphasis : {
240
232
label : {
241
233
show : true ,
242
- textStyle : {
243
- fontSize : '20' ,
244
- } ,
234
+ fontSize : '20' ,
245
235
} ,
246
236
} ,
247
237
label : {
248
- normal : {
249
- show : false ,
250
- position : 'center' ,
251
- } ,
238
+ show : false ,
239
+ position : 'center' ,
252
240
} ,
253
241
labelLine : {
254
- normal : {
255
- show : false ,
256
- } ,
242
+ show : false ,
257
243
} ,
258
244
data : [
259
245
{ value : 335 , name : '可容忍' } ,
@@ -314,9 +300,7 @@ export class EchartsService {
314
300
emphasis : { focus : 'series' } ,
315
301
data : [ 0 , 8 , 3 , 110 , 183 , 168 , 94 , 67 , 52 , 70 , 67 , 0 , 0 , 0 ] ,
316
302
itemStyle : {
317
- normal : {
318
- color : [ '#1DD1A1' ] ,
319
- } ,
303
+ color : '#1DD1A1' ,
320
304
} ,
321
305
} ,
322
306
{
@@ -327,9 +311,7 @@ export class EchartsService {
327
311
emphasis : { focus : 'series' } ,
328
312
data : [ 0 , 0 , 0 , 0 , 0 , 0 , 0 , 14 , 58 , 55 , 69 , 77 , 60 , 59 ] ,
329
313
itemStyle : {
330
- normal : {
331
- color : [ '#3F8FEC' ] ,
332
- } ,
314
+ color : '#3F8FEC' ,
333
315
} ,
334
316
} ,
335
317
{
@@ -340,9 +322,7 @@ export class EchartsService {
340
322
emphasis : { focus : 'series' } ,
341
323
data : [ 0 , 0 , 0 , 2 , 7 , 3 , 12 , 52 , 6 , 13 , 24 , 25 , 12 , 6 ] ,
342
324
itemStyle : {
343
- normal : {
344
- color : [ '#FECA57' ] ,
345
- } ,
325
+ color : '#FECA57' ,
346
326
} ,
347
327
} ,
348
328
{
@@ -353,9 +333,7 @@ export class EchartsService {
353
333
emphasis : { focus : 'series' } ,
354
334
data : [ 7 , 31 , 41 , 40 , 44 , 82 , 64 , 63 , 33 , 39 , 36 , 27 , 9 , 9 ] ,
355
335
itemStyle : {
356
- normal : {
357
- color : [ '#855CF8' ] ,
358
- } ,
336
+ color : '#855CF8' ,
359
337
} ,
360
338
} ,
361
339
{
@@ -366,9 +344,7 @@ export class EchartsService {
366
344
emphasis : { focus : 'series' } ,
367
345
data : [ 7 , 39 , 44 , 152 , 234 , 253 , 170 , 196 , 149 , 177 , 196 , 129 , 81 , 74 ] ,
368
346
itemStyle : {
369
- normal : {
370
- color : [ '#F79044' ] ,
371
- } ,
347
+ color : '#F79044' ,
372
348
} ,
373
349
} ,
374
350
] ,
0 commit comments