echarts整体调整
This commit is contained in:
@ -33,14 +33,17 @@ export default {
|
||||
})
|
||||
this.chart.setOption({
|
||||
color:['#A796FF','#FFBE01'],
|
||||
grid: {
|
||||
top:30,
|
||||
containLabel: true
|
||||
},
|
||||
legend: {
|
||||
left: 'right',
|
||||
bottom: '10',
|
||||
bottom: '15',
|
||||
},
|
||||
tooltip: {},
|
||||
xAxis: { type: 'category' },
|
||||
yAxis: { },
|
||||
grid:{top:30},
|
||||
dataset:{
|
||||
source
|
||||
// source:[//格式
|
||||
|
||||
Reference in New Issue
Block a user