|
@@ -2,6 +2,7 @@
|
|
<div @click="opnenDialg">
|
|
<div @click="opnenDialg">
|
|
<div id="bottomLeftChart" style="width:11.25rem;height:5.9rem;"></div>
|
|
<div id="bottomLeftChart" style="width:11.25rem;height:5.9rem;"></div>
|
|
<el-dialog class="my-info-dialog" :visible.sync="openChart" title="蒸汽消耗" @open="open" width="1600px" destroy-on-close append-to-body>
|
|
<el-dialog class="my-info-dialog" :visible.sync="openChart" title="蒸汽消耗" @open="open" width="1600px" destroy-on-close append-to-body>
|
|
|
|
+ <span style="padding-left:65px;color:#74777F;">Unit:(t/h)</span>
|
|
<div id="bottomLeftChart2" style="width:100%;height:600px;"></div>
|
|
<div id="bottomLeftChart2" style="width:100%;height:600px;"></div>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
</div>
|
|
</div>
|
|
@@ -145,7 +146,7 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
legend: {
|
|
legend: {
|
|
- data: ['HHP','HP','LP','MP','总消耗'],
|
|
|
|
|
|
+ data: ['HHP','HP','MP','LP','总消耗'],
|
|
// data: ['Discharged','Planned emission','Emission rate'],
|
|
// data: ['Discharged','Planned emission','Emission rate'],
|
|
textStyle: {
|
|
textStyle: {
|
|
color: "#B4B4B4"
|
|
color: "#B4B4B4"
|
|
@@ -246,8 +247,8 @@ export default {
|
|
data: HPData
|
|
data: HPData
|
|
},
|
|
},
|
|
|
|
|
|
- {
|
|
|
|
- name: 'LP',
|
|
|
|
|
|
+ {
|
|
|
|
+ name: 'MP',
|
|
type: "bar",
|
|
type: "bar",
|
|
barGap: "-100%",
|
|
barGap: "-100%",
|
|
stack: 'Ad',
|
|
stack: 'Ad',
|
|
@@ -256,19 +257,19 @@ export default {
|
|
normal: {
|
|
normal: {
|
|
barBorderRadius: 5,
|
|
barBorderRadius: 5,
|
|
color: new this.echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
color: new this.echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
- { offset: 0, color: "rgba(156,107,211,0.8)" },
|
|
|
|
- { offset: 0.2, color: "rgba(156,107,211,0.5)" },
|
|
|
|
- { offset: 1, color: "rgba(156,107,211,0.2)" }
|
|
|
|
|
|
+ { offset: 0, color: "rgba(208,107,211,0.8)" },
|
|
|
|
+ { offset: 0.2, color: "rgba(208,107,211,0.5)" },
|
|
|
|
+ { offset: 1, color: "rgba(208,107,211,0.2)" }
|
|
])
|
|
])
|
|
}
|
|
}
|
|
},
|
|
},
|
|
z: -12,
|
|
z: -12,
|
|
|
|
|
|
- data: LPData
|
|
|
|
|
|
+ data: MPData
|
|
},
|
|
},
|
|
|
|
|
|
{
|
|
{
|
|
- name: 'MP',
|
|
|
|
|
|
+ name: 'LP',
|
|
type: "bar",
|
|
type: "bar",
|
|
barGap: "-100%",
|
|
barGap: "-100%",
|
|
stack: 'Ad',
|
|
stack: 'Ad',
|
|
@@ -277,16 +278,18 @@ export default {
|
|
normal: {
|
|
normal: {
|
|
barBorderRadius: 5,
|
|
barBorderRadius: 5,
|
|
color: new this.echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
color: new this.echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
- { offset: 0, color: "rgba(208,107,211,0.8)" },
|
|
|
|
- { offset: 0.2, color: "rgba(208,107,211,0.5)" },
|
|
|
|
- { offset: 1, color: "rgba(208,107,211,0.2)" }
|
|
|
|
|
|
+ { offset: 0, color: "rgba(156,107,211,0.8)" },
|
|
|
|
+ { offset: 0.2, color: "rgba(156,107,211,0.5)" },
|
|
|
|
+ { offset: 1, color: "rgba(156,107,211,0.2)" }
|
|
])
|
|
])
|
|
}
|
|
}
|
|
},
|
|
},
|
|
z: -12,
|
|
z: -12,
|
|
|
|
|
|
- data: MPData
|
|
|
|
- }
|
|
|
|
|
|
+ data: LPData
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+
|
|
]
|
|
]
|
|
};
|
|
};
|
|
this.chart.setOption(option);
|
|
this.chart.setOption(option);
|
|
@@ -408,7 +411,7 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
legend: {
|
|
legend: {
|
|
- data: ['HHP','HP','LP','MP','总消耗'],
|
|
|
|
|
|
+ data: ['HHP','HP','MP','LP','总消耗'],
|
|
// data: ['Discharged','Planned emission','Emission rate'],
|
|
// data: ['Discharged','Planned emission','Emission rate'],
|
|
top: "0%"
|
|
top: "0%"
|
|
},
|
|
},
|
|
@@ -491,7 +494,7 @@ export default {
|
|
},
|
|
},
|
|
|
|
|
|
{
|
|
{
|
|
- name: 'LP',
|
|
|
|
|
|
+ name: 'MP',
|
|
type: "bar",
|
|
type: "bar",
|
|
barGap: "-100%",
|
|
barGap: "-100%",
|
|
stack: 'Ad',
|
|
stack: 'Ad',
|
|
@@ -500,19 +503,19 @@ export default {
|
|
normal: {
|
|
normal: {
|
|
barBorderRadius: 5,
|
|
barBorderRadius: 5,
|
|
color: new this.echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
color: new this.echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
- { offset: 0, color: "rgba(156,107,211,0.8)" },
|
|
|
|
- { offset: 0.2, color: "rgba(156,107,211,0.5)" },
|
|
|
|
- { offset: 1, color: "rgba(156,107,211,0.2)" }
|
|
|
|
|
|
+ { offset: 0, color: "rgba(208,107,211,0.8)" },
|
|
|
|
+ { offset: 0.2, color: "rgba(208,107,211,0.5)" },
|
|
|
|
+ { offset: 1, color: "rgba(208,107,211,0.2)" }
|
|
])
|
|
])
|
|
}
|
|
}
|
|
},
|
|
},
|
|
z: -12,
|
|
z: -12,
|
|
|
|
|
|
- data: LPData
|
|
|
|
|
|
+ data: MPData
|
|
},
|
|
},
|
|
|
|
|
|
{
|
|
{
|
|
- name: 'MP',
|
|
|
|
|
|
+ name: 'LP',
|
|
type: "bar",
|
|
type: "bar",
|
|
barGap: "-100%",
|
|
barGap: "-100%",
|
|
stack: 'Ad',
|
|
stack: 'Ad',
|
|
@@ -521,16 +524,19 @@ export default {
|
|
normal: {
|
|
normal: {
|
|
barBorderRadius: 5,
|
|
barBorderRadius: 5,
|
|
color: new this.echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
color: new this.echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
- { offset: 0, color: "rgba(208,107,211,0.8)" },
|
|
|
|
- { offset: 0.2, color: "rgba(208,107,211,0.5)" },
|
|
|
|
- { offset: 1, color: "rgba(208,107,211,0.2)" }
|
|
|
|
|
|
+ { offset: 0, color: "rgba(156,107,211,0.8)" },
|
|
|
|
+ { offset: 0.2, color: "rgba(156,107,211,0.5)" },
|
|
|
|
+ { offset: 1, color: "rgba(156,107,211,0.2)" }
|
|
])
|
|
])
|
|
}
|
|
}
|
|
},
|
|
},
|
|
z: -12,
|
|
z: -12,
|
|
|
|
|
|
- data: MPData
|
|
|
|
- }
|
|
|
|
|
|
+ data: LPData
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
]
|
|
]
|
|
};
|
|
};
|
|
this.chart2.setOption(option);
|
|
this.chart2.setOption(option);
|