Merge pull request 'projects/mescc/zjl' (#55) from projects/mescc/zjl into projects/mescc/develop
All checks were successful
continuous-integration/drone/push Build is passing

Reviewed-on: #55
This commit is contained in:
朱菊兰 2024-06-20 17:10:00 +08:00
commit 033d61ea96

View File

@ -249,44 +249,51 @@ export default {
resetMsg() { resetMsg() {
this.tableProps = this.tableProps1; this.tableProps = this.tableProps1;
this.tableData = []; this.tableData = [];
this.chartMsg = { this.chartMsg1 = {
color: ["#FFCE6A", "#8EF0AB", "#288AFF"], color: ["#288AFF33", "#288AFF"],
xData: [], xData: [],
yName: "单位/", yName: "单位/MW",
series: [ series: [
{ {
name: "1", name: "1",
data: [], data: [],
type: "line", type: "bar",
symbol: "circle", barWidth: 20,
symbolSize: 6,
label: {
show: true,
color: "#FFAE17",
},
}, },
{ {
name: "2", name: "2",
data: [], data: [],
type: "bar", type: "bar",
barWidth: 20, barWidth: 20,
barGap: "-100%",
label: { label: {
show: true, show: true,
// position: [-5, -16], position: "top",
// position: [-5, -16], color: "#288AFF",
position: [-10, -16],
// position: [-17, -16],
color: "#68C483",
}, },
}, },
],
};
this.chartMsg2 = {
color: ["#288AFF33", "#288AFF"],
xData: [],
yName: "单位/㎡",
series: [
{ {
name: "3", name: "1",
data: [], data: [],
type: "bar", type: "bar",
barWidth: 20, barWidth: 20,
},
{
name: "2",
data: [],
type: "bar",
barWidth: 20,
barGap: "-100%",
label: { label: {
show: true, show: true,
position: [0, -16], position: "top",
color: "#288AFF", color: "#288AFF",
}, },
}, },