修复黔西南异常
This commit is contained in:
@@ -59,7 +59,7 @@ export default {
|
||||
colors = this.theme === '1' ? this.colors : (options.color || this.colors),
|
||||
legend = {textStyle: {color: '#fff', padding: [0, 0, 0, 8], fontSize: 14}, show: false},
|
||||
series = data?.[0] ? Array(Object.keys(data?.[0]).length - 1).fill(1)
|
||||
.map((e, i) => ({type, ...(typeof style == 'object' ? style : style(colors[i]))})) : []
|
||||
.map((e, i) => ({type, ...daemon, ...(typeof style == 'object' ? style : style(colors[i]))})) : []
|
||||
return {
|
||||
tooltip: {},
|
||||
xAxis: {
|
||||
@@ -99,7 +99,7 @@ export default {
|
||||
top: '26px',
|
||||
containLabel: true
|
||||
},
|
||||
legend, series: {...daemon, ...series}, ...options,
|
||||
legend, series, ...options,
|
||||
color: colors
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user