So I have this code which let my chart have these two values.
header(\'Content-Type: application/json\'); require \'config/db.php\'; $query = sprintf("SE