feat:大屏增加单位

This commit is contained in:
zty 2024-12-30 09:19:07 +08:00
parent c9168a5b61
commit 59a991c49a
1 changed files with 13 additions and 13 deletions

View File

@ -819,7 +819,7 @@ export default {
option1.color = ['#FFFF00','#CC00FF', '#FFBF00'] option1.color = ['#FFFF00','#CC00FF', '#FFBF00']
option1.legend.data = [ option1.legend.data = [
{ {
name: "熟料", name: "熟料(t)",
textStyle: { textStyle: {
color: "#fff", color: "#fff",
}, },
@ -829,7 +829,7 @@ export default {
}, },
}, },
{ {
name: "水泥", name: "水泥(t)",
textStyle: { textStyle: {
color: "#fff", color: "#fff",
}, },
@ -839,7 +839,7 @@ export default {
}, },
}, },
{ {
name: "出厂水泥", name: "出厂水泥(t)",
textStyle: { textStyle: {
color: "#fff", color: "#fff",
}, },
@ -851,7 +851,7 @@ export default {
]; ];
option1.series = [ option1.series = [
{ {
name: "熟料", name: "熟料(t)",
type: "line", type: "line",
smooth: true, smooth: true,
lineStyle: { lineStyle: {
@ -868,7 +868,7 @@ export default {
data: seriesData, data: seriesData,
}, },
{ {
name: "水泥", name: "水泥(t)",
type: "line", type: "line",
smooth: true, smooth: true,
lineStyle: { lineStyle: {
@ -885,7 +885,7 @@ export default {
data: seriesData1, data: seriesData1,
}, },
{ {
name: "出厂水泥", name: "出厂水泥(t)",
type: "line", type: "line",
smooth: true, smooth: true,
lineStyle: { lineStyle: {
@ -1048,7 +1048,7 @@ export default {
option3.color = ['#FFBF00','#6495ED', '#CC00FF'] option3.color = ['#FFBF00','#6495ED', '#CC00FF']
option3.legend.data = [ option3.legend.data = [
{ {
name: "生活水", name: "生活水(t)",
textStyle: { textStyle: {
color: "#fff", color: "#fff",
}, },
@ -1058,7 +1058,7 @@ export default {
}, },
}, },
{ {
name: "绿化水", name: "绿化水(t)",
textStyle: { textStyle: {
color: "#fff", color: "#fff",
}, },
@ -1068,7 +1068,7 @@ export default {
}, },
}, },
{ {
name: "工业水", name: "工业水(t)",
textStyle: { textStyle: {
color: "#fff", color: "#fff",
}, },
@ -1080,7 +1080,7 @@ export default {
]; ];
option3.series = [ option3.series = [
{ {
name: '生活水', name: '生活水(t)',
type: 'line', type: 'line',
data: seriesData1, data: seriesData1,
lineStyle: { lineStyle: {
@ -1088,7 +1088,7 @@ export default {
}, },
}, },
{ {
name: '绿化水', name: '绿化水(t)',
type: 'line', type: 'line',
data: seriesData3, data: seriesData3,
lineStyle: { lineStyle: {
@ -1096,7 +1096,7 @@ export default {
}, },
}, },
{ {
name: '工业水', name: '工业水(t)',
type: 'line', type: 'line',
data: seriesData5, data: seriesData5,
lineStyle: { lineStyle: {
@ -1390,7 +1390,7 @@ export default {
}, },
}, },
]; ];
option5.xAxis.data = that.datelist; // option5.xAxis.data = that.datelist;
myChart.setOption(option5); // myChart.setOption(option5); //
let index3 = 0; let index3 = 0;
intervalId = setInterval(function () { intervalId = setInterval(function () {