line chart.js only plotting two points code example
Example: chartjs lineTension
options{
elements: {
line: {
tension: 0 // disables bezier curves
}
},
}
options{
elements: {
line: {
tension: 0 // disables bezier curves
}
},
}