echarts整体调整

This commit is contained in:
2025-08-13 14:51:26 +08:00
parent 763338cc2a
commit 9ad720823a
15 changed files with 68 additions and 24 deletions

View File

@ -39,9 +39,12 @@ export default {
source.push([item.dateMonth,item.chargeEnergy,item.disChargeEnergy])
})
this.chart.setOption({
grid: {
containLabel: true
},
legend: {
left: 'center',
bottom: '10',
bottom: '15',
},
tooltip: {
trigger: 'axis',

View File

@ -39,9 +39,12 @@ export default {
})
this.chart.setOption({
color:['#3C81FF','#FFBE29'],
grid: {
containLabel: true
},
legend: {
left: 'center',
bottom: '10',
bottom: '15',
},
tooltip: {
trigger: 'axis',

View File

@ -39,9 +39,12 @@ export default {
})
this.chart.setOption({
color:['#F86F70'],
grid: {
containLabel: true
},
legend: {
left: 'center',
bottom: '10',
bottom: '15',
},
tooltip: {
trigger: 'axis',

View File

@ -42,9 +42,12 @@ export default {
tooltip: {
trigger: 'item'
},
grid: {
containLabel: true
},
legend: {
left: 'center',
bottom:'10'
bottom: '15',
},
series: [
{

View File

@ -39,9 +39,12 @@ export default {
})
this.chart.setOption({
color:['#FFBE01'],
grid: {
containLabel: true
},
legend: {
left: 'center',
bottom: '10',
bottom: '15',
},
tooltip: {
trigger: 'axis',

View File

@ -3,7 +3,7 @@
<zd-info></zd-info>
<div class="ems-content-container ems-content-container-padding">
<div class="content-title">数据概览</div>
<el-row :gutter="32" style="background:#fff;margin:30px 0;">
<el-row :gutter="15" style="background:#fff;margin:30px 0;">
<el-col :xs="24" :sm="12" :lg="12">
<dlzb-chart ref="dlzbchart"/>
</el-col>
@ -12,7 +12,7 @@
</el-col>
</el-row>
<el-row :gutter="32" style="background:#fff;margin:0;">
<el-row :gutter="15" style="background:#fff;margin:0;">
<el-col :xs="24" :sm="8" :lg="8">
<gjqs-chart ref="gjqsChart"/>
</el-col>