diff --git a/src/views/xm/rpt/iteration/IterationWorkItemDayList.vue b/src/views/xm/rpt/iteration/IterationWorkItemDayList.vue index 47bdedf8..bb230f46 100644 --- a/src/views/xm/rpt/iteration/IterationWorkItemDayList.vue +++ b/src/views/xm/rpt/iteration/IterationWorkItemDayList.vue @@ -172,12 +172,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'] }, diff --git a/src/views/xm/rpt/iteration/burnout.vue b/src/views/xm/rpt/iteration/burnout.vue index 0916e705..a71a2e9c 100644 --- a/src/views/xm/rpt/iteration/burnout.vue +++ b/src/views/xm/rpt/iteration/burnout.vue @@ -194,6 +194,7 @@ }, toolbox: { show: true, + right:"20px", feature: { dataView: { show: true, readOnly: false }, magicType: { show: true, type: ['line', 'bar'] }, diff --git a/src/views/xm/rpt/iteration/menuDayAccumulate.vue b/src/views/xm/rpt/iteration/menuDayAccumulate.vue index f0355955..b0548367 100644 --- a/src/views/xm/rpt/iteration/menuDayAccumulate.vue +++ b/src/views/xm/rpt/iteration/menuDayAccumulate.vue @@ -187,6 +187,16 @@ } } }, + toolbox: { + show: true, + right:"20px", + feature: { + dataView: { show: true, readOnly: false }, + magicType: { show: true, type: ['line', 'bar'] }, + restore: { show: true }, + saveAsImage: { show: true } + } + }, legend: { top:'5%', left: 'center', @@ -197,12 +207,7 @@ right: '4%', bottom: '3%', containLabel: true - }, - toolbox: { - feature: { - saveAsImage: {} - } - }, + }, xAxis: { type: 'category', boundaryGap: false, diff --git a/src/views/xm/rpt/iteration/menuDayTrend.vue b/src/views/xm/rpt/iteration/menuDayTrend.vue index e93b475d..1a1eb6db 100644 --- a/src/views/xm/rpt/iteration/menuDayTrend.vue +++ b/src/views/xm/rpt/iteration/menuDayTrend.vue @@ -180,12 +180,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'] }, diff --git a/src/views/xm/rpt/iteration/questionDayAccumulate.vue b/src/views/xm/rpt/iteration/questionDayAccumulate.vue index a9251802..c733ed0a 100644 --- a/src/views/xm/rpt/iteration/questionDayAccumulate.vue +++ b/src/views/xm/rpt/iteration/questionDayAccumulate.vue @@ -197,8 +197,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/iteration/questionDayTrend.vue b/src/views/xm/rpt/iteration/questionDayTrend.vue index 20fcde8d..2f775bf5 100644 --- a/src/views/xm/rpt/iteration/questionDayTrend.vue +++ b/src/views/xm/rpt/iteration/questionDayTrend.vue @@ -179,12 +179,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'] }, diff --git a/src/views/xm/rpt/product/menuDayAccumulate.vue b/src/views/xm/rpt/product/menuDayAccumulate.vue index ef903891..e3176f1a 100644 --- a/src/views/xm/rpt/product/menuDayAccumulate.vue +++ b/src/views/xm/rpt/product/menuDayAccumulate.vue @@ -174,6 +174,17 @@ } } }, + + toolbox: { + show: true, + right:"20px", + feature: { + dataView: { show: true, readOnly: false }, + magicType: { show: true, type: ['line', 'bar'] }, + restore: { show: true }, + saveAsImage: { show: true } + } + }, legend: { top:'5%', left: 'center', @@ -184,12 +195,7 @@ right: '4%', bottom: '3%', containLabel: true - }, - toolbox: { - feature: { - saveAsImage: {} - } - }, + }, xAxis: { type: 'category', boundaryGap: false, diff --git a/src/views/xm/rpt/product/menuDayTrend.vue b/src/views/xm/rpt/product/menuDayTrend.vue index 7b519cb0..16300707 100644 --- a/src/views/xm/rpt/product/menuDayTrend.vue +++ b/src/views/xm/rpt/product/menuDayTrend.vue @@ -169,12 +169,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'] }, diff --git a/src/views/xm/rpt/product/menuSort.vue b/src/views/xm/rpt/product/menuSort.vue index 58b28ef6..50c72ce7 100644 --- a/src/views/xm/rpt/product/menuSort.vue +++ b/src/views/xm/rpt/product/menuSort.vue @@ -176,12 +176,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'] }, diff --git a/src/views/xm/rpt/product/productWorkItemDayList.vue b/src/views/xm/rpt/product/productWorkItemDayList.vue index 6cb63d6d..8fe04a52 100644 --- a/src/views/xm/rpt/product/productWorkItemDayList.vue +++ b/src/views/xm/rpt/product/productWorkItemDayList.vue @@ -170,6 +170,7 @@ barMaxWidth: 100, toolbox: { show: true, + right:"20px", feature: { dataView: { show: true, readOnly: false }, magicType: { show: true, type: ['line', 'bar'] }, diff --git a/src/views/xm/rpt/product/questionDayAccumulate.vue b/src/views/xm/rpt/product/questionDayAccumulate.vue index 486b9a15..950881c1 100644 --- a/src/views/xm/rpt/product/questionDayAccumulate.vue +++ b/src/views/xm/rpt/product/questionDayAccumulate.vue @@ -189,8 +189,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/product/questionDayTrend.vue b/src/views/xm/rpt/product/questionDayTrend.vue index 125e4e01..cac8b1ff 100644 --- a/src/views/xm/rpt/product/questionDayTrend.vue +++ b/src/views/xm/rpt/product/questionDayTrend.vue @@ -170,12 +170,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'] }, diff --git a/src/views/xm/rpt/product/questionSort.vue b/src/views/xm/rpt/product/questionSort.vue index 1d8fc553..c59d1db5 100644 --- a/src/views/xm/rpt/product/questionSort.vue +++ b/src/views/xm/rpt/product/questionSort.vue @@ -217,12 +217,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'] }, diff --git a/src/views/xm/rpt/project/projectWorkItemDayList.vue b/src/views/xm/rpt/project/projectWorkItemDayList.vue index 86b8d957..00df8969 100644 --- a/src/views/xm/rpt/project/projectWorkItemDayList.vue +++ b/src/views/xm/rpt/project/projectWorkItemDayList.vue @@ -142,12 +142,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'] }, diff --git a/src/views/xm/rpt/project/projectWorkloadSetDayList.vue b/src/views/xm/rpt/project/projectWorkloadSetDayList.vue index 32298232..761a632e 100644 --- a/src/views/xm/rpt/project/projectWorkloadSetDayList.vue +++ b/src/views/xm/rpt/project/projectWorkloadSetDayList.vue @@ -160,12 +160,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'] }, diff --git a/src/views/xm/rpt/project/projectWorkloadSetMonthList.vue b/src/views/xm/rpt/project/projectWorkloadSetMonthList.vue index df9a818d..37c16c3f 100644 --- a/src/views/xm/rpt/project/projectWorkloadSetMonthList.vue +++ b/src/views/xm/rpt/project/projectWorkloadSetMonthList.vue @@ -160,12 +160,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'] }, diff --git a/src/views/xm/rpt/project/taskDayAccumulate.vue b/src/views/xm/rpt/project/taskDayAccumulate.vue index ce82bcff..2bd29b85 100644 --- a/src/views/xm/rpt/project/taskDayAccumulate.vue +++ b/src/views/xm/rpt/project/taskDayAccumulate.vue @@ -164,8 +164,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/project/taskDayTrend.vue b/src/views/xm/rpt/project/taskDayTrend.vue index afbf53c1..14d353d3 100644 --- a/src/views/xm/rpt/project/taskDayTrend.vue +++ b/src/views/xm/rpt/project/taskDayTrend.vue @@ -146,12 +146,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'] }, diff --git a/src/views/xm/rpt/project/taskSort.vue b/src/views/xm/rpt/project/taskSort.vue index a254e349..8881f8f9 100644 --- a/src/views/xm/rpt/project/taskSort.vue +++ b/src/views/xm/rpt/project/taskSort.vue @@ -146,12 +146,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'] }, diff --git a/src/views/xm/rpt/testPlan/testDayTimesCalc.vue b/src/views/xm/rpt/testPlan/testDayTimesCalc.vue index a00f67b9..16f221f8 100644 --- a/src/views/xm/rpt/testPlan/testDayTimesCalc.vue +++ b/src/views/xm/rpt/testPlan/testDayTimesCalc.vue @@ -194,12 +194,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'] }, @@ -213,7 +213,6 @@ legend: { top:'5%', left: 'center', - data: ['次数'] }, xAxis: { type: 'category', diff --git a/src/views/xm/rpt/testPlan/testPlanCaseUserDist.vue b/src/views/xm/rpt/testPlan/testPlanCaseUserDist.vue index e7dcfa80..76e4153b 100644 --- a/src/views/xm/rpt/testPlan/testPlanCaseUserDist.vue +++ b/src/views/xm/rpt/testPlan/testPlanCaseUserDist.vue @@ -180,6 +180,7 @@ barMaxWidth: 100, toolbox: { show: true, + right:"20px", feature: { dataView: { show: true, readOnly: false }, magicType: { show: true, type: ['line', 'bar'] },