修改bug及能源分析样式

This commit is contained in:
2023-09-27 09:33:28 +08:00
parent 42550264c8
commit ee40707d2c
15 changed files with 302 additions and 53 deletions

View File

@@ -57,12 +57,22 @@ export default {
{
name: '本期',
type: 'bar',
data: []
data: [],
barWidth: 20,
label: {
show: true,
position: 'top'
}
},
{
name: '上期',
type: 'bar',
data: []
data: [],
barWidth: 20,
label: {
show: true,
position: 'top'
}
}
]
for (let j = 0; j < arr.length; j++) {
@@ -79,6 +89,7 @@ export default {
// title: {
// text: 'World Population'
// },
color:['#288AFF','#8EF0AB'],
tooltip: {
trigger: 'axis',
axisPointer: {
@@ -87,8 +98,8 @@ export default {
},
legend: {},
grid: {
left: '3%',
right: '4%',
left: '1%',
right: '1%',
bottom: '3%',
containLabel: true
},