1👍
You misspelled .length
for (var i = 0; i < json.length; i++) {
chartjsData.push (json[i].wartosc);
}
- Chartjs-ChartJS doesnt display labels provided by Jinja variable
- Chartjs-Set Start Value as '0' With Dynamic Data In Chart.js
Source:stackexchange.com