[Chartjs]-ChartJS radar scale points

8๐Ÿ‘

โœ…

Ok, I figured out that I needed to move the scaleSteps, scaleStepWidth and scaleStart to the declaration of the new Radar chart as below, rather than in the dataset.

window.onload = function(){
var ctx = document.getElementById("radarCanvas").getContext("2d");
window.myRadar = new Chart(ctx).Radar(radarChartData, {
responsive: false,
    pointDot:false,
    showTooltips: false,
    scaleOverride: true,
    scaleSteps: 4,
    scaleStepWidth: 5,
    scaleStartValue: 0
}); }

See http://jsfiddle.net/7p8ffvqx/ for the working example.

Leave a comment