@@ -93,10 +93,8 @@ export class EchartsService {
9393 show : false ,
9494 } ,
9595 axisLabel : {
96- textStyle : {
97- color : 'rgba(103, 103, 103, 1)' ,
98- fontSize : 14 ,
99- } ,
96+ color : 'rgba(103, 103, 103, 1)' ,
97+ fontSize : 14 ,
10098 interval : 10 ,
10199 rotate : 0 ,
102100 } ,
@@ -115,9 +113,7 @@ export class EchartsService {
115113 show : false ,
116114 } ,
117115 axisLabel : {
118- textStyle : {
119- color : 'rgba(103, 103, 103, 1)' ,
120- } ,
116+ color : 'rgba(103, 103, 103, 1)' ,
121117 } ,
122118 show : true ,
123119 minInterval : 10 ,
@@ -137,11 +133,9 @@ export class EchartsService {
137133 } ,
138134
139135 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)' ,
145139 } ,
146140 areaStyle : {
147141 color : {
@@ -183,26 +177,24 @@ export class EchartsService {
183177 width : 3 ,
184178 } ,
185179 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+ ] ,
206198 } ,
207199 } ,
208200 symbolSize : 0 ,
@@ -239,21 +231,15 @@ export class EchartsService {
239231 emphasis : {
240232 label : {
241233 show : true ,
242- textStyle : {
243- fontSize : '20' ,
244- } ,
234+ fontSize : '20' ,
245235 } ,
246236 } ,
247237 label : {
248- normal : {
249- show : false ,
250- position : 'center' ,
251- } ,
238+ show : false ,
239+ position : 'center' ,
252240 } ,
253241 labelLine : {
254- normal : {
255- show : false ,
256- } ,
242+ show : false ,
257243 } ,
258244 data : [
259245 { value : 335 , name : '可容忍' } ,
@@ -314,9 +300,7 @@ export class EchartsService {
314300 emphasis : { focus : 'series' } ,
315301 data : [ 0 , 8 , 3 , 110 , 183 , 168 , 94 , 67 , 52 , 70 , 67 , 0 , 0 , 0 ] ,
316302 itemStyle : {
317- normal : {
318- color : [ '#1DD1A1' ] ,
319- } ,
303+ color : '#1DD1A1' ,
320304 } ,
321305 } ,
322306 {
@@ -327,9 +311,7 @@ export class EchartsService {
327311 emphasis : { focus : 'series' } ,
328312 data : [ 0 , 0 , 0 , 0 , 0 , 0 , 0 , 14 , 58 , 55 , 69 , 77 , 60 , 59 ] ,
329313 itemStyle : {
330- normal : {
331- color : [ '#3F8FEC' ] ,
332- } ,
314+ color : '#3F8FEC' ,
333315 } ,
334316 } ,
335317 {
@@ -340,9 +322,7 @@ export class EchartsService {
340322 emphasis : { focus : 'series' } ,
341323 data : [ 0 , 0 , 0 , 2 , 7 , 3 , 12 , 52 , 6 , 13 , 24 , 25 , 12 , 6 ] ,
342324 itemStyle : {
343- normal : {
344- color : [ '#FECA57' ] ,
345- } ,
325+ color : '#FECA57' ,
346326 } ,
347327 } ,
348328 {
@@ -353,9 +333,7 @@ export class EchartsService {
353333 emphasis : { focus : 'series' } ,
354334 data : [ 7 , 31 , 41 , 40 , 44 , 82 , 64 , 63 , 33 , 39 , 36 , 27 , 9 , 9 ] ,
355335 itemStyle : {
356- normal : {
357- color : [ '#855CF8' ] ,
358- } ,
336+ color : '#855CF8' ,
359337 } ,
360338 } ,
361339 {
@@ -366,9 +344,7 @@ export class EchartsService {
366344 emphasis : { focus : 'series' } ,
367345 data : [ 7 , 39 , 44 , 152 , 234 , 253 , 170 , 196 , 149 , 177 , 196 , 129 , 81 , 74 ] ,
368346 itemStyle : {
369- normal : {
370- color : [ '#F79044' ] ,
371- } ,
347+ color : '#F79044' ,
372348 } ,
373349 } ,
374350 ] ,
0 commit comments