...
|
...
|
@@ -99,7 +99,7 @@ export const instrumentComponent1 = (params?: { value: number; unit: string }): |
99
|
99
|
// fontSize: 16,
|
100
|
100
|
fontWeight: 'bolder',
|
101
|
101
|
formatter: `{value} ${unit}`,
|
102
|
|
- color: 'auto',
|
|
102
|
+ color: 'inherit',
|
103
|
103
|
},
|
104
|
104
|
data: [
|
105
|
105
|
{
|
...
|
...
|
@@ -184,7 +184,7 @@ export const instrumentComponent2 = (params?: { |
184
|
184
|
},
|
185
|
185
|
pointer: {
|
186
|
186
|
itemStyle: {
|
187
|
|
- color: 'auto',
|
|
187
|
+ color: 'inherit',
|
188
|
188
|
},
|
189
|
189
|
},
|
190
|
190
|
axisTick: {
|
...
|
...
|
@@ -205,14 +205,14 @@ export const instrumentComponent2 = (params?: { |
205
|
205
|
},
|
206
|
206
|
},
|
207
|
207
|
axisLabel: {
|
208
|
|
- color: 'auto',
|
|
208
|
+ color: 'inherit',
|
209
|
209
|
distance: 5,
|
210
|
210
|
fontSize: 6,
|
211
|
211
|
},
|
212
|
212
|
detail: {
|
213
|
213
|
valueAnimation: true,
|
214
|
214
|
formatter: `{value} ${unit}`,
|
215
|
|
- color: 'auto',
|
|
215
|
+ color: 'inherit',
|
216
|
216
|
fontSize: 14,
|
217
|
217
|
},
|
218
|
218
|
data: [
|
...
|
...
|
|