简体   繁体   中英

Chart.js in Angular Radar Chart

How can I change the stepsize for radar chart

   $scope.radar = {
        labels: chart.lastMonthMood.labels,
        data: [
            chart.lastMonthMood.labelsCount
        ],
        options: {
            scale: {
                reverse: true,
                ticks: {
                    beginAtZero: true,
                    min:0,
                    stepSize: 1,
                }
            }
        }
    };

Print screen of output

I think I don't understand your question. If you want to change the stepSize what about changing the field: stepSize inside the options object?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM