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) {