$total) { $chart_rows[] = array( date("d-M", strtotime($date)), // Format the date (int) $total, // Ensure the total is an integer ); } // Combine columns and rows for chart data $xdays_chart_data = array_merge(array($chart_columns), $chart_rows); ?>
_chart_div'>