Chartjs-Label is too long in Doughnut Chart

0👍

This is not supported “out of the box” by chart.js. You will need to determine what solution works best for you and implement it yourself. You will need to provide modified strings to the instantiation of myChart.

You could automatically truncate a title after X number of characters, maybe add a ‘…’ to the end when it happens to make it obvious when a title has been shortened.

Leave a comment