0π
β
Yes, what you are wanting is possible. You just need to use the scale ticks.callback
option. Here is an example.
scales: {
yAxes: [{
ticks: {
callback: function(value) {
if (value === 25) {
return "Half";
} else if (value === 50) {
return "Full";
}
}
}
]}
}
0π
Source:stackexchange.com