Chartjs-Chart.js not reading input data

1👍

I fixed this on the PHP side, it wasn’t the way I wanted to go, but posting PHP strings as JSON wasn’t working, so I amended the MYSQL and just posted
as
”’
foreach ($result as $row)
{
$data[] = $row;
}
”’
Works as required now

Leave a comment