5๐
โ
You can use the scaleLabel function. Have a look here https://stackoverflow.com/a/28700578/909535
scaleLabel: function (valuePayload) {
if(Number(valuePayload.value)===1)
return 'request added';
if(Number(valuePayload.value)===2)
return 'request viewed';
if(Number(valuePayload.value)===3)
return 'request accepted';
if(Number(valuePayload.value)===4)
return 'request solved';
if(Number(valuePayload.value)===5)
return 'solving confirmed';
}
Source:stackexchange.com