多彩柱状完成
This commit is contained in:
@@ -53,6 +53,7 @@ export default {
|
||||
return ['#FFBA44', '#EC6666', '#FF3E18', '#C9FF82', '#29D7FA', '#ea7ccc']
|
||||
},
|
||||
chartOptions() {
|
||||
const {daemon} = this.$echartTpls[this.tpl]
|
||||
let {type, data, ops: options = {}} = this,
|
||||
style = this.series ? this.series : this.ops.daemon ? this.ops.daemon : {},
|
||||
colors = this.theme === '1' ? this.colors : (options.color || this.colors),
|
||||
@@ -98,7 +99,7 @@ export default {
|
||||
top: '26px',
|
||||
containLabel: true
|
||||
},
|
||||
legend, series, ...options,
|
||||
legend, series: {...daemon, ...series}, ...options,
|
||||
color: colors
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user