Browse Source

2023-6-5

master
guoxing 2 years ago
parent
commit
a14471ea10
  1. 18
      supervise-customer-ui/src/layout/components/AppMain.vue

18
supervise-customer-ui/src/layout/components/AppMain.vue

@ -281,8 +281,8 @@ display: -webkit-box;
},
created() {
// this.drawLine1();
// this.drawLine2();
this.drawLine1();
this.drawLine2();
},
methods: {
@ -331,11 +331,11 @@ display: -webkit-box;
height: 220
},
legend: {
data: ['Evaporation', 'Precipitation', 'Temperature']
data: ['仓库货值', '在途货值', '阀值']
},
xAxis: [{
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
data: ['1-1', '1-2', '1-3', '1-4', '1-5', '1-6', '1-7'],
axisPointer: {
type: 'shadow'
}
@ -352,7 +352,7 @@ display: -webkit-box;
},
{
type: 'value',
name: '百分比',
name: '百分比%',
min: 0,
max: 25,
interval: 5,
@ -362,7 +362,7 @@ display: -webkit-box;
}
],
series: [{
name: 'Evaporation',
name: '仓库货值',
type: 'bar',
tooltip: {
valueFormatter: function(value) {
@ -374,7 +374,7 @@ display: -webkit-box;
]
},
{
name: 'Precipitation',
name: '在途货值',
type: 'bar',
tooltip: {
valueFormatter: function(value) {
@ -386,7 +386,7 @@ display: -webkit-box;
]
},
{
name: 'Temperature',
name: '阀值',
type: 'line',
yAxisIndex: 1,
tooltip: {
@ -436,7 +436,7 @@ display: -webkit-box;
trigger: "item"
},
series: [{
name: 'Nightingale Chart',
name: '在途货物分析',
type: 'pie',
radius: [20, 100],
center: ['50%', '40%'],

Loading…
Cancel
Save