diff --git a/src/views/xm/rpt/branch/branchWorkItemDayList.vue b/src/views/xm/rpt/branch/branchWorkItemDayList.vue index ee323c18..9727843a 100644 --- a/src/views/xm/rpt/branch/branchWorkItemDayList.vue +++ b/src/views/xm/rpt/branch/branchWorkItemDayList.vue @@ -152,12 +152,12 @@ }, tooltip: { - trigger: 'item', - formatter:'{b} {c}次', + trigger: 'axis', }, barMaxWidth: 100, toolbox: { show: true, + right:"20px", feature: { dataView: { show: true, readOnly: false }, magicType: { show: true, type: ['line', 'bar'] }, @@ -168,6 +168,8 @@ calculable: true, legend: { + top:'5%', + left: 'center', }, dataset: { @@ -221,7 +223,7 @@ type: 'pie', id: 'pie', radius: '30%', - center: ['50%', '25%'], + center: ['50%', '30%'], emphasis: { focus: 'self' }, diff --git a/src/views/xm/rpt/branch/menuDayAccumulate.vue b/src/views/xm/rpt/branch/menuDayAccumulate.vue index c427c9a3..a58fd706 100644 --- a/src/views/xm/rpt/branch/menuDayAccumulate.vue +++ b/src/views/xm/rpt/branch/menuDayAccumulate.vue @@ -191,8 +191,13 @@ containLabel: true }, toolbox: { + show: true, + right:"20px", feature: { - saveAsImage: {} + dataView: { show: true, readOnly: false }, + magicType: { show: true, type: ['line', 'bar'] }, + restore: { show: true }, + saveAsImage: { show: true } } }, xAxis: { diff --git a/src/views/xm/rpt/branch/menuDayTrend.vue b/src/views/xm/rpt/branch/menuDayTrend.vue index 76831256..51b3b3da 100644 --- a/src/views/xm/rpt/branch/menuDayTrend.vue +++ b/src/views/xm/rpt/branch/menuDayTrend.vue @@ -158,12 +158,12 @@ }, tooltip: { - trigger: 'item', - formatter:'{b} {c}次', + trigger: 'axis', }, barMaxWidth: 100, toolbox: { show: true, + right:"20px", feature: { dataView: { show: true, readOnly: false }, magicType: { show: true, type: ['line', 'bar'] }, @@ -174,7 +174,8 @@ calculable: true, legend: { - right: 40, + top:'5%', + left: 'center', data: ['未开始故事数','执行中故事数','已完成故事数','已关闭故事数'] }, xAxis: { diff --git a/src/views/xm/rpt/branch/questionDayAccumulate.vue b/src/views/xm/rpt/branch/questionDayAccumulate.vue index 0917b686..efabf7e9 100644 --- a/src/views/xm/rpt/branch/questionDayAccumulate.vue +++ b/src/views/xm/rpt/branch/questionDayAccumulate.vue @@ -178,8 +178,13 @@ containLabel: true }, toolbox: { + show: true, + right:"20px", feature: { - saveAsImage: {} + dataView: { show: true, readOnly: false }, + magicType: { show: true, type: ['line', 'bar'] }, + restore: { show: true }, + saveAsImage: { show: true } } }, xAxis: { diff --git a/src/views/xm/rpt/branch/questionDayTrend.vue b/src/views/xm/rpt/branch/questionDayTrend.vue index 7ec0f158..d6ce7579 100644 --- a/src/views/xm/rpt/branch/questionDayTrend.vue +++ b/src/views/xm/rpt/branch/questionDayTrend.vue @@ -159,12 +159,12 @@ }, tooltip: { - trigger: 'item', - formatter:'{b} {c}次', + trigger: 'axis', }, barMaxWidth: 100, toolbox: { show: true, + right:"20px", feature: { dataView: { show: true, readOnly: false }, magicType: { show: true, type: ['line', 'bar'] }, @@ -175,7 +175,8 @@ calculable: true, legend: { - right: 40, + top:'5%', + left: 'center', data: ['新提出','执行中','已解决','已关闭'] }, xAxis: { diff --git a/src/views/xm/rpt/iteration/IterationWorkItemDayList.vue b/src/views/xm/rpt/iteration/IterationWorkItemDayList.vue index bb230f46..f7ed81b4 100644 --- a/src/views/xm/rpt/iteration/IterationWorkItemDayList.vue +++ b/src/views/xm/rpt/iteration/IterationWorkItemDayList.vue @@ -243,7 +243,7 @@ type: 'pie', id: 'pie', radius: '30%', - center: ['50%', '25%'], + center: ['50%', '30%'], emphasis: { focus: 'self' }, diff --git a/src/views/xm/rpt/product/productWorkItemDayList.vue b/src/views/xm/rpt/product/productWorkItemDayList.vue index 8fe04a52..108b5402 100644 --- a/src/views/xm/rpt/product/productWorkItemDayList.vue +++ b/src/views/xm/rpt/product/productWorkItemDayList.vue @@ -164,8 +164,7 @@ }, tooltip: { - trigger: 'item', - formatter:'{b} {c}次', + trigger: 'axis', }, barMaxWidth: 100, toolbox: { @@ -236,7 +235,7 @@ type: 'pie', id: 'pie', radius: '30%', - center: ['50%', '25%'], + center: ['50%', '30%'], emphasis: { focus: 'self' }, diff --git a/src/views/xm/rpt/project/projectWorkItemDayList.vue b/src/views/xm/rpt/project/projectWorkItemDayList.vue index 00df8969..00058cfa 100644 --- a/src/views/xm/rpt/project/projectWorkItemDayList.vue +++ b/src/views/xm/rpt/project/projectWorkItemDayList.vue @@ -172,7 +172,7 @@ grid: { top: '55%' }, series: [ { name:'未关故事', - type: 'line', + type: 'line', seriesLayoutBy: 'row', smooth:true, emphasis: { focus: 'series' }, @@ -213,7 +213,7 @@ type: 'pie', id: 'pie', radius: '30%', - center: ['50%', '25%'], + center: ['50%', '30%'], emphasis: { focus: 'self' },