3👍
I figured it out after about 2 days. Its pretty annoying but I guess it was looking at the JSON as an array and not the object it needed. so i did a parseJson on the returned data and it worked perfectly into the graph….Any way thanks for your help you telling me to do that alert @potatopeelings helped me realize the JSON was not being read properly.
- [Chartjs]-Can I set the background colour of a Chart.js chart based on the dataset item?
- [Chartjs]-Chart.js – Multiple Doughnut Charts on same Canvas
Source:stackexchange.com