From bc38e0bb85cd863fa905b2424583896b800b7bbd Mon Sep 17 00:00:00 2001 From: liumengyi Date: Wed, 22 Mar 2023 14:37:55 +0800 Subject: [PATCH] * Finish task #87793. --- module/screen/view/burn.html.php | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/module/screen/view/burn.html.php b/module/screen/view/burn.html.php index 574ff67c4f..fd67f19ee2 100644 --- a/module/screen/view/burn.html.php +++ b/module/screen/view/burn.html.php @@ -1,7 +1,12 @@ getModuleRoot() . 'common/view/header.lite.html.php';?> getModuleRoot() . 'common/view/chart.html.php';?> + +execution->burnXUnit);?> +execution->burnYUnit);?> +execution->workHour);?> +execution->workHourUnit);?>

name;?>

@@ -41,7 +46,8 @@ function initBurnChar() } }, tooltip: { - trigger: 'axis' + trigger: 'axis', + valueFormatter: (value) => (value == undefined ? 0 : value) + ' ' + workHour + '/' + workHourUnit }, legend: { data: ["execution->charts->burn->graph->actuality;?>","execution->charts->burn->graph->reference;?>"], @@ -67,6 +73,11 @@ function initBurnChar() }, xAxis: { type: 'category', + name: burnXUnit, + nameTextStyle:{ + padding: [20, 0, 0, -40], + verticalAlign: "top" + }, boundaryGap: false, axisLabel: { show: true, @@ -78,12 +89,19 @@ function initBurnChar() }, yAxis: { type: 'value', + name: burnYUnit, + nameTextStyle:{ + padding: [0, 0, -40, -45] + }, axisLabel: { show: true, textStyle: { color: '#dee0e4' } }, + axisLine: { + show: true + }, splitLine: { show: true, lineStyle:{