-
Notifications
You must be signed in to change notification settings - Fork 12k
Closed
Description
I want to show only integers in labels of a radar chart. I check many solutions i found on here and stackoverflow.
I set stepsize:1 and seems is doing nothing... when max scale value is 1 or 2 it show many float values like 0.2,0.4,0.6...
Also, i check this:
userCallback: function(label, index, labels) {
// when the floored value is the same as the value we have a whole number
if (Math.floor(label) === label) {
return label;
}
}
and is not working.
Also i set min:0 on my scale. But when every value of my chart is 0, scale is between -1 and 1.
Not sure if this an issue or im doing something wrong.
Thanks.
guillermo7227 and nfedyashev