1👍
Having less data points clears up the issues quite a bit:
var x_vals = [];
var y_vals = [];
for (var i=0;i<=360;i++) {
if ((i % 30) == true) {
x_vals.push(i-1);
y_vals.push(1000-i-1);
}
}
It may be that ChartJS is trying to calculate too many points …
- [Chartjs]-ChartJS – How to show border on empty pie chart?
- [Chartjs]-ChartJS vertical line not removed on touchend
Source:stackexchange.com