fix:charts测试更改
This commit is contained in:
parent
7d7c5f2dcc
commit
42676ab855
|
@ -1,12 +1,12 @@
|
|||
<template>
|
||||
<el-main>
|
||||
<el-card>
|
||||
<div id="main" style="width: 1000px; height: 600px"></div>
|
||||
<div id="main" style="width: 1000px; height: 500px"></div>
|
||||
<div
|
||||
id="mains"
|
||||
style="
|
||||
width: 1000px;
|
||||
height: 600px;
|
||||
height: 500px;
|
||||
position: absolute;
|
||||
top: 185px;
|
||||
"
|
||||
|
@ -53,7 +53,7 @@ export default {
|
|||
[3, 36.5, 4, "CCUS碳减排", 2025],
|
||||
|
||||
[33, 34.05, 33, "低碳水泥碳减排", 2030],
|
||||
[16, 39, 26, "替代燃料碳减排", 2030],
|
||||
[26, 39, 26, "替代燃料碳减排", 2030],
|
||||
[10, 32, 10, "清洁能源电力碳减排", 2030],
|
||||
[18, 32.2, 18, "能效提升技术碳减排", 2030],
|
||||
[7, 36.57, 9, "CCUS碳减排", 2030],
|
||||
|
@ -148,12 +148,12 @@ export default {
|
|||
elements: [
|
||||
{
|
||||
type: "text",
|
||||
right: 160,
|
||||
left: "center",
|
||||
bottom: 60,
|
||||
style: {
|
||||
text: startYear,
|
||||
font: "bolder 80px monospace",
|
||||
fill: "rgba(100, 100, 100, 0.25)",
|
||||
fill: "#d6000f",
|
||||
},
|
||||
z: 100,
|
||||
},
|
||||
|
@ -221,7 +221,6 @@ export default {
|
|||
emphasis: {
|
||||
focus: "series",
|
||||
},
|
||||
// color: "#43fb43",//绿色
|
||||
color: "#000000",
|
||||
encode: {
|
||||
x: "Year",
|
||||
|
@ -244,18 +243,17 @@ export default {
|
|||
xAxis: {
|
||||
type: "category",
|
||||
nameLocation: "middle",
|
||||
// show: false, // 不显示坐标轴线、坐标轴刻度线和坐标轴上的文字
|
||||
axisTick: {
|
||||
show: false, // 不显示坐标轴刻度线
|
||||
show: false,
|
||||
},
|
||||
axisLine: {
|
||||
show: false, // 不显示坐标轴线
|
||||
show: false,
|
||||
},
|
||||
axisLabel: {
|
||||
show: false, // 不显示坐标轴上的文字
|
||||
show: false,
|
||||
},
|
||||
splitLine: {
|
||||
show: false, // 不显示网格线
|
||||
show: false,
|
||||
},
|
||||
},
|
||||
yAxis: {
|
||||
|
|
Loading…
Reference in New Issue