Home forums Using CanvasJS No data in the chart Reply To: No data in the chart

#23053

Priyanka M S
Member

@jerry_k7,

CanvasJS accepts only numeric or dateTime in x-values and numeric in y-values. Assigning numeric values to time and temperature values of point array $point = array("time" => $row['time'] , "temperature" => $row['temperature']); , should work fine in your case.

If this doesn’t solve your issue, kindly create a sample project reproducing the issue you are facing and share it over Google-Drive or Onedrive along with the sample database, so that we can look into your code, understand it better and help you out.

__
Priyanka M S
Team CanvasJS