Home Forums Chart Support Show a last 12 months chart with php mysql Reply To: Show a last 12 months chart with php mysql

#34282

AmoN,

You are passing values instead of y within $dataPoints. Replacing $dataPoints[0] = array("value" => $row["values"], "label"=> $row["date(timestamp)"]) with $dataPoints[0] = array("y" => $row["values"], "label"=> $row["date(timestamp)"]) should work fine in this case.

—-
Manoj Mohan
Team CanvasJS