Browse Source

优化

master
陈裕财 4 years ago
parent
commit
01e456fe73
  1. 46
      src/views/xm/XmOverview2.vue

46
src/views/xm/XmOverview2.vue

@ -242,59 +242,33 @@ export default {
},
axisTick: {
show: false
},
splitLine: {
lineStyle: {
color: 'rgba(0, 0, 0, .05)'
}
}
},
},
xAxis: {
type: 'category',
boundaryGap: false,
data: ['需求', '任务', '缺陷'],
splitLine: {
show: true,
lineStyle: {
color: 'rgba(0, 0, 0, .05)'
}
},
axisLine: {
lineStyle: {
color: 'rgba(0, 0, 0, .1)'
}
},
axisTick: {
lineStyle: {
color: 'rgba(0, 0, 0, .1)'
}
},
axisLabel: {
color: '#555'
}
data: ['需求', '任务', '缺陷'],
},
series: [
{
name: '需求',
type: 'line',
stack: 'Total',
areaStyle: {},
stack: 'Total',
emphasis: {
focus: 'series'
},
data: [this.xmBranchState.menuCnt],
markPoint: {
data: [{
type: 'min',
name: 'min'
type: 'max',
name: 'max'
}],
}
},
{
name: '任务',
type: 'line',
stack: 'Total',
areaStyle: {},
stack: 'Total',
emphasis: {
focus: 'series'
},
@ -309,17 +283,15 @@ export default {
{
name: '缺陷',
type: 'line',
stack: 'Total',
areaStyle: {},
stack: 'Total',
emphasis: {
focus: 'series'
},
data: [0, 0, this.xmBranchState.bugCnt],
markPoint: {
data: [{
name: '',
yAxis: this.xmBranchState.bugCnt, // yythis.trenddata[1]
x: '95.55%'// x
type: 'max',
name: 'max'
}],
},
}

Loading…
Cancel
Save