Skip to content

Commit 93ec6f2

Browse files
author
Yeliazar
committed
updated echart colors schema
1 parent dd2b382 commit 93ec6f2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/pages/Charts/Echarts/mock.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export default {
4949
}
5050
},
5151
series: [{type: 'bar'}, {type: 'bar'}, {type: 'bar'}],
52-
color: [primary, success, danger]
52+
color: [primary, info, warning]
5353
},
5454
pie: {
5555
tooltip: {
@@ -70,7 +70,7 @@ export default {
7070
type: 'pie',
7171
radius: '55%',
7272
center: ['50%', '60%'],
73-
color: [info, danger, warning, success, primary],
73+
color: [primary, info, warning, success, primary, danger],
7474
label: {
7575
show: false
7676
},
@@ -185,14 +185,14 @@ export default {
185185
type: 'line',
186186
step: 'start',
187187
data: [120, 132, 101, 134, 90, 230, 210],
188-
color: [info]
188+
color: [primary]
189189
},
190190
{
191191
name: 'Step Middle',
192192
type: 'line',
193193
step: 'middle',
194194
data: [220, 282, 201, 234, 290, 430, 410],
195-
color: [primary]
195+
color: [warning]
196196
},
197197
{
198198
name: 'Step End',
@@ -265,7 +265,7 @@ export default {
265265
}
266266
},
267267
series: [{
268-
color: [danger],
268+
color: [warning],
269269
name: 'Punch Card',
270270
type: 'scatter',
271271
symbolSize: function (val) {
@@ -305,7 +305,7 @@ export default {
305305
data: [{value: 64, name: 'Rate'}],
306306
axisLine: {
307307
lineStyle: {
308-
color: [[0.2,success], [0.8,info], [1,danger]],
308+
color: [[0.2,success], [0.8,primary], [1,warning]],
309309
}
310310
},
311311
}

0 commit comments

Comments
 (0)