Home Forums Chart Support Help with Dynamic chart, please !!! Reply To: Help with Dynamic chart, please !!!

#10576

Hi Sanjoy,

Below is the json data format returned by the php page. It is ratings for a product.
Please note that the default json data (rating for a default product) returned initially on document ready function displays as needed on the canvasjs chart. However the second attempt to populate the same chart using json data from another php file (ratings of another product) doesn’t work.

json data:
[{“label”:”rating1″,”y”:6},{“label”:”rating2″,”y”:3},{“label”:”rating3″,”y”:4}]

Regards,
Cool1