Chartjs-Chart.js, set a max value

3👍

You can use the scaleOverride to do this, like so

...
var myChart = new Chart(ctx).Radar(data, {
    scaleOverride: true,
    scaleSteps: 5,
    scaleStepWidth: 20,
    scaleStartValue: 0,
});

Fiddle – http://jsfiddle.net/bkm60q5y/

Leave a comment