Home forums Using CanvasJS Issues retrievng data from MySql Reply To: Issues retrievng data from MySql


Sunil Urs


Issue might be one of the two

1. $row[‘Tipus_1’] values are null – can you confirm this by logging (echoing) those values??
2. json_encode is not encoding. What is the type of data??

In case json_encode has some issue encoding the data, try creating the entire json data using echo statements and string concatination. If you can get those values to show up in JSON data chart will automatically render them.

Sunil Urs