[Chartjs]-How to stop axis label from being cut off in chart JS?

3👍

You can fix that by setting the layout padding on the chart.

options: {
  layout: {
    padding: {
      top: 20
    }
  }
}

Here is the reference
http://www.chartjs.org/docs/latest/configuration/layout.html

Leave a comment