Chartjs-ChartJs: Different color fill between points makes lines straight…need curves (lineTension)

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 });

Leave a comment