From d9c98da06c7c2c08804c7f77d201fbc25cb07afc Mon Sep 17 00:00:00 2001 From: Hao Sun Date: Sat, 22 Oct 2022 13:57:28 +0000 Subject: [PATCH] * increase baseline accuracy for burn chart. --- module/execution/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/model.php b/module/execution/model.php index 006e025df4..dfebc4e9be 100644 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -4261,7 +4261,7 @@ class executionModel extends model $days = count($dateList) - 1; $rate = $days ? $firstTime / $days : ''; $baselineJSON = '['; - foreach($dateList as $i => $date) $baselineJSON .= round(($days - $i) * (float)$rate, 2) . ','; + foreach($dateList as $i => $date) $baselineJSON .= round(($days - $i) * (float)$rate, 3) . ','; $baselineJSON = rtrim($baselineJSON, ',') . ']'; $chartData['labels'] = $this->report->convertFormat($dateList, DT_DATE5);