0👍
Just set the scaleLabel
function
...
options: {
scale: {
pointLabels: {
callback: function(pointLabel) {
if (pointLabel.length > 6)
return pointLabel.substring(0, 5) + '...';
else
return pointLabel
}
}
}
}
...
Fiddle – http://jsfiddle.net/e7suv6jg/
Source:stackexchange.com