score:6

Accepted answer

it looks like it's been changed with v2.0. it is now tension:0. as of this writing the docs state it's linetension:0, but that seems incorrect.

score:10

set the option beziercurve to false.

window.onload = function(){
    var ctx = document.getelementbyid("canvas").getcontext("2d");

    window.myline = new chart(ctx).line(linechartdata, {
      responsive: true, 
      scalefontcolor: "#ff5972",
      beziercurve: false
    });

});

it's right there in the line chart option list.. you can also have them be curved but "stiffer" by leaving the option set and then varying the beziercurvetension property.


Related Query

More Query from same tag