Chartjs-Is there way to get counts of every day of week by created_at in laravel php

0👍

From my understanding count will not include 0. However in front end you can use HTML if else to get the value 0 for you. Something like

$months->weeks != null ? $months->weeks : '0' //If there’s a value,show,else i’ll be null

Leave a comment