Commit a407210d by wangmin

修改

parent eb1e5135
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
}, },
option: { option: {
title: { title: {
text: "月度(单位:mWh)", text: "月度(单位mWh)",
textStyle: { textStyle: {
fontSize: 14, fontSize: 14,
fontWeight: 400, fontWeight: 400,
...@@ -352,7 +352,7 @@ ...@@ -352,7 +352,7 @@
query: { minWidth: 0, maxWidth: 399 }, query: { minWidth: 0, maxWidth: 399 },
option: { option: {
title: { title: {
text: "年度(单位:mWh)", text: "年度(单位mWh)",
textStyle: { textStyle: {
fontSize: 14, fontSize: 14,
fontWeight: 400, fontWeight: 400,
...@@ -607,7 +607,7 @@ ...@@ -607,7 +607,7 @@
}, },
option: { option: {
title: { title: {
text: "年度(单位:kt)", text: "年度(单位kt)",
textStyle: { textStyle: {
fontSize: 14, fontSize: 14,
fontWeight: 400, fontWeight: 400,
...@@ -624,10 +624,10 @@ ...@@ -624,10 +624,10 @@
}, },
xAxis: { xAxis: {
type: "category", type: "category",
data: ["2017", "2018", "2019", "2020", "2021", "2022", "2023"], data: ["2020", "2021", "2022", "2023"],
axisLabel: { axisLabel: {
rotate: -50, // rotate: -50,
formatter: "{value}", formatter: "{value}",
interval: 0, interval: 0,
textStyle: { textStyle: {
fontSize: 14, fontSize: 14,
...@@ -690,7 +690,7 @@ ...@@ -690,7 +690,7 @@
series: [ series: [
{ {
name: "实际", name: "实际",
data: [1300, 0, 0, 0, 0, 0, 29], data: [1300, 0, 0, 100],
type: "bar", type: "bar",
showBackground: true, showBackground: true,
backgroundStyle: { backgroundStyle: {
...@@ -703,7 +703,7 @@ ...@@ -703,7 +703,7 @@
]), ]),
}, },
barGap: "0%", barGap: "0%",
barWidth: 15, barWidth: 20,
}, },
{ {
name: "预测", name: "预测",
...@@ -711,7 +711,7 @@ ...@@ -711,7 +711,7 @@
backgroundStyle: { backgroundStyle: {
color: "rgba(255, 255, 255, 0.05)", color: "rgba(255, 255, 255, 0.05)",
}, },
data: [100, 0, 0, 0, 0, 0, 112], data: [100, 0, 0, 100],
type: "bar", type: "bar",
itemStyle: { itemStyle: {
color: `rgba(251,99,100,0.2)`, color: `rgba(251,99,100,0.2)`,
...@@ -719,7 +719,7 @@ ...@@ -719,7 +719,7 @@
borderWidth: 2, borderWidth: 2,
borderType: "dashed", borderType: "dashed",
}, },
barWidth: 15, barWidth: 20,
}, },
], ],
}, },
...@@ -748,7 +748,7 @@ ...@@ -748,7 +748,7 @@
}, },
xAxis: { xAxis: {
type: "category", type: "category",
data: ["2017", "2018", "2019", "2020", "2021", "2022", "2023"], data: ["2020", "2021", "2022", "2023"],
axisLabel: { axisLabel: {
formatter: "{value}年", formatter: "{value}年",
interval: 0, interval: 0,
...@@ -813,7 +813,7 @@ ...@@ -813,7 +813,7 @@
series: [ series: [
{ {
name: "实际", name: "实际",
data: [3000, 0, 0, 0, 0, 0, 29], data: [3000, 0, 0, 1000],
type: "bar", type: "bar",
showBackground: true, showBackground: true,
backgroundStyle: { backgroundStyle: {
...@@ -834,7 +834,7 @@ ...@@ -834,7 +834,7 @@
backgroundStyle: { backgroundStyle: {
color: "rgba(255, 255, 255, 0.05)", color: "rgba(255, 255, 255, 0.05)",
}, },
data: [100, 0, 0, 0, 0, 0, 112], data: [100, 0, 0, 100],
type: "bar", type: "bar",
itemStyle: { itemStyle: {
color: `rgba(251,99,100,0.2)`, color: `rgba(251,99,100,0.2)`,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论