0đź‘Ť
Linetension is actually working, but you’re only show 2 datapoints for each dataset. You need 3 to show a curve.
Also, it seems like you’re using an old version of ChartJs, the latest version uses the following syntax:
var chart = new Chart(ctx, { type: "line", data: data,options: options });
- Chartjs-How can I delete an instance of a chart using chart.js
- Chartjs-Chart.JS Get Json data for chart and return dataset where a type equals a certain type
Source:stackexchange.com