0👍
I solved it with the ticks.callback
-property, but I’m not too happy with it, feels dirty:
See docs here
ticks: {
[...],
callback: function(value, index, values) {
if(index !== 0 && index !== values.length - 1){
// Return value only when it's not the first and not the last
return value;
}
}
Source:stackexchange.com