From 3a6aa0a4016296d1fcdefd05ada802329ee95919 Mon Sep 17 00:00:00 2001 From: chentaiyu Date: Tue, 20 Jul 2021 14:34:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=B1=E7=8A=B6=E5=9B=BE=E3=80=81=E9=A5=BC?= =?UTF-8?q?=E5=9B=BE=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xm/core/xmIteration/XmIterationOverview.vue | 8 ++++---- src/views/xm/core/xmProduct/XmProductOverview.vue | 8 ++++---- src/views/xm/core/xmProject/XmProjectOverview.vue | 14 +++++++------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/views/xm/core/xmIteration/XmIterationOverview.vue b/src/views/xm/core/xmIteration/XmIterationOverview.vue index 0f521802..bcda8ac5 100644 --- a/src/views/xm/core/xmIteration/XmIterationOverview.vue +++ b/src/views/xm/core/xmIteration/XmIterationOverview.vue @@ -378,7 +378,7 @@ export default { { center:['55%','40%'], type: 'pie', - radius: '68%', + radius: '50%', label:{ //饼图图形上的文本标签 normal:{ show:true, @@ -447,11 +447,11 @@ export default { type: 'shadow' // 默认为直线,可选为:'line' | 'shadow' }, }, - yAxis: { + xAxis: { type: 'category', data: ['产品数', '项目数'] }, - xAxis: { + yAxis: { type: 'value' }, series: [{ @@ -494,7 +494,7 @@ export default { { center:['55%','40%'],//饼图位置 type: 'pie', - radius: '60%',//饼图半径大小 + radius: '50%',//饼图半径大小 label:{ //饼图图形上的文本标签 normal:{ show:true, diff --git a/src/views/xm/core/xmProduct/XmProductOverview.vue b/src/views/xm/core/xmProduct/XmProductOverview.vue index af80e30b..97a2d34d 100644 --- a/src/views/xm/core/xmProduct/XmProductOverview.vue +++ b/src/views/xm/core/xmProduct/XmProductOverview.vue @@ -386,7 +386,7 @@ export default { { center:['55%','40%'], type: 'pie', - radius: '68%', + radius: '50%', label:{ //饼图图形上的文本标签 normal:{ show:true, @@ -455,11 +455,11 @@ export default { type: 'shadow' // 默认为直线,可选为:'line' | 'shadow' }, }, - yAxis: { + xAxis: { type: 'category', data: ['项目数', '迭代数'] }, - xAxis: { + yAxis: { type: 'value' }, series: [{ @@ -502,7 +502,7 @@ export default { { center:['55%','40%'],//饼图位置 type: 'pie', - radius: '60%',//饼图半径大小 + radius: '50%',//饼图半径大小 label:{ //饼图图形上的文本标签 normal:{ show:true, diff --git a/src/views/xm/core/xmProject/XmProjectOverview.vue b/src/views/xm/core/xmProject/XmProjectOverview.vue index 41e37fcb..afcae96e 100644 --- a/src/views/xm/core/xmProject/XmProjectOverview.vue +++ b/src/views/xm/core/xmProject/XmProjectOverview.vue @@ -520,7 +520,7 @@ export default { { center:['55%','40%'],//饼图位置 type: 'pie', - radius: '60%',//饼图半径大小 + radius: '50%',//饼图半径大小 label:{ //饼图图形上的文本标签 normal:{ show:true, @@ -594,7 +594,7 @@ export default { { center:['55%','40%'],//饼图位置 type: 'pie', - radius: '60%',//饼图半径大小 + radius: '50%',//饼图半径大小 label:{ //饼图图形上的文本标签 normal:{ show:true, @@ -661,7 +661,7 @@ export default { { center:['55%','40%'],//饼图位置 type: 'pie', - radius: '60%',//饼图半径大小 + radius: '50%',//饼图半径大小 label:{ //饼图图形上的文本标签 normal:{ show:true, @@ -683,14 +683,14 @@ export default { color: '#91CC75' } }, - name: '内部人力工作量'}, + name: '内部人力'}, {value: this.selProject.planOutUserWorkload, itemStyle: { normal:{ color: '#3BA272' } }, - name: '外购人力工作量'}, + name: '外购人力'}, ], emphasis: { itemStyle: { @@ -716,11 +716,11 @@ export default { type: 'shadow' // 默认为直线,可选为:'line' | 'shadow' }, }, - yAxis: { + xAxis: { type: 'category', data: ['产品数', '迭代数'] }, - xAxis: { + yAxis: { type: 'value' }, series: [{