Browse Source

优化

master
陈裕财 4 years ago
parent
commit
116e446a98
  1. 30
      src/views/xm/rpt/product/menuDayAccumulate.vue

30
src/views/xm/rpt/product/menuDayAccumulate.vue

@ -120,8 +120,15 @@
title: { title: {
text: '需求累积图' text: '需求累积图'
}, },
tooltip: { tooltip: {
trigger: 'axis'
trigger: 'axis',
axisPointer: {
type: 'cross',
label: {
backgroundColor: '#6a7985'
}
}
}, },
legend: { legend: {
data: ['未开始', '执行中', '已完成', '已关闭'] data: ['未开始', '执行中', '已完成', '已关闭']
@ -150,24 +157,45 @@
name: '未开始', name: '未开始',
type: 'line', type: 'line',
stack: 'Total', stack: 'Total',
areaStyle: {},
emphasis: {
focus: 'series'
},
data: this.menuUnstartCntCpd data: this.menuUnstartCntCpd
}, },
{ {
name: '执行中', name: '执行中',
type: 'line', type: 'line',
stack: 'Total', stack: 'Total',
areaStyle: {},
emphasis: {
focus: 'series'
},
data: this.menuExecCntCpd, data: this.menuExecCntCpd,
}, },
{ {
name: '已完成', name: '已完成',
type: 'line', type: 'line',
stack: 'Total', stack: 'Total',
areaStyle: {},
emphasis: {
focus: 'series'
},
data: this.menuFinishCntCpd, data: this.menuFinishCntCpd,
}, },
{ {
name: '已关闭', name: '已关闭',
type: 'line', type: 'line',
stack: 'Total', stack: 'Total',
areaStyle: {},
emphasis: {
focus: 'series'
},
label: {
show: true,
position: 'top'
},
data: this.menuCloseCntCpd, data: this.menuCloseCntCpd,
} }
] ]

Loading…
Cancel
Save