Formatting label in chartjs

Hi, Iโ€™m using chartjs to display a doughnut chart and Iโ€™d like to add some newlines to the hover text to make it more readable. The hover text is the Label attribute of dataset. Does anyone know how to achieve this? Thank you, Tracy
1 answers

Hi Tracy,

ChartJS has pretty extensive documentation on how to customize you chart (and label), did you already check this?

Also: the recommended and platform supported alternative to ChartJS widget is: Charts (, is there a specific case for you to use ChartJS?