Browse Source

柱状图、饼图调整

master
chentaiyu 5 years ago
parent
commit
3a6aa0a401
  1. 8
      src/views/xm/core/xmIteration/XmIterationOverview.vue
  2. 8
      src/views/xm/core/xmProduct/XmProductOverview.vue
  3. 14
      src/views/xm/core/xmProject/XmProjectOverview.vue

8
src/views/xm/core/xmIteration/XmIterationOverview.vue

@ -378,7 +378,7 @@ export default {
{ {
center:['55%','40%'], center:['55%','40%'],
type: 'pie', type: 'pie',
radius: '68%',
radius: '50%',
label:{ // label:{ //
normal:{ normal:{
show:true, show:true,
@ -447,11 +447,11 @@ export default {
type: 'shadow' // 线'line' | 'shadow' type: 'shadow' // 线'line' | 'shadow'
}, },
}, },
yAxis: {
xAxis: {
type: 'category', type: 'category',
data: ['产品数', '项目数'] data: ['产品数', '项目数']
}, },
xAxis: {
yAxis: {
type: 'value' type: 'value'
}, },
series: [{ series: [{
@ -494,7 +494,7 @@ export default {
{ {
center:['55%','40%'],// center:['55%','40%'],//
type: 'pie', type: 'pie',
radius: '60%',//
radius: '50%',//
label:{ // label:{ //
normal:{ normal:{
show:true, show:true,

8
src/views/xm/core/xmProduct/XmProductOverview.vue

@ -386,7 +386,7 @@ export default {
{ {
center:['55%','40%'], center:['55%','40%'],
type: 'pie', type: 'pie',
radius: '68%',
radius: '50%',
label:{ // label:{ //
normal:{ normal:{
show:true, show:true,
@ -455,11 +455,11 @@ export default {
type: 'shadow' // 线'line' | 'shadow' type: 'shadow' // 线'line' | 'shadow'
}, },
}, },
yAxis: {
xAxis: {
type: 'category', type: 'category',
data: ['项目数', '迭代数'] data: ['项目数', '迭代数']
}, },
xAxis: {
yAxis: {
type: 'value' type: 'value'
}, },
series: [{ series: [{
@ -502,7 +502,7 @@ export default {
{ {
center:['55%','40%'],// center:['55%','40%'],//
type: 'pie', type: 'pie',
radius: '60%',//
radius: '50%',//
label:{ // label:{ //
normal:{ normal:{
show:true, show:true,

14
src/views/xm/core/xmProject/XmProjectOverview.vue

@ -520,7 +520,7 @@ export default {
{ {
center:['55%','40%'],// center:['55%','40%'],//
type: 'pie', type: 'pie',
radius: '60%',//
radius: '50%',//
label:{ // label:{ //
normal:{ normal:{
show:true, show:true,
@ -594,7 +594,7 @@ export default {
{ {
center:['55%','40%'],// center:['55%','40%'],//
type: 'pie', type: 'pie',
radius: '60%',//
radius: '50%',//
label:{ // label:{ //
normal:{ normal:{
show:true, show:true,
@ -661,7 +661,7 @@ export default {
{ {
center:['55%','40%'],// center:['55%','40%'],//
type: 'pie', type: 'pie',
radius: '60%',//
radius: '50%',//
label:{ // label:{ //
normal:{ normal:{
show:true, show:true,
@ -683,14 +683,14 @@ export default {
color: '#91CC75' color: '#91CC75'
} }
}, },
name: '内部人力工作量'},
name: '内部人力'},
{value: this.selProject.planOutUserWorkload, {value: this.selProject.planOutUserWorkload,
itemStyle: { itemStyle: {
normal:{ normal:{
color: '#3BA272' color: '#3BA272'
} }
}, },
name: '外购人力工作量'},
name: '外购人力'},
], ],
emphasis: { emphasis: {
itemStyle: { itemStyle: {
@ -716,11 +716,11 @@ export default {
type: 'shadow' // 线'line' | 'shadow' type: 'shadow' // 线'line' | 'shadow'
}, },
}, },
yAxis: {
xAxis: {
type: 'category', type: 'category',
data: ['产品数', '迭代数'] data: ['产品数', '迭代数']
}, },
xAxis: {
yAxis: {
type: 'value' type: 'value'
}, },
series: [{ series: [{

Loading…
Cancel
Save