1👍
Data received is in string format. You should call JSON.parse(data)
on received data in order to access dataset
property.
- Chartjs-Chart.js only draws when I go through debug on Chrome
- Chartjs-How to use php variables in a chart js chart
Source:stackexchange.com