From 8d4cc7844f3b9bc2c4c84eca95e19b6c7d4d9788 Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Thu, 20 Apr 2023 08:06:37 +0000 Subject: [PATCH] * Fix bug of radar error of select no data filter. --- module/chart/model.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/chart/model.php b/module/chart/model.php index 7a151191b6..5e8cce1d06 100644 --- a/module/chart/model.php +++ b/module/chart/model.php @@ -193,6 +193,8 @@ class chartModel extends model $max = 0; foreach($yStats as $yStat) { + if(empty($yStat)) continue; + $data = array(); foreach($xLabels as $xLabel) {