Chartjs-Chart js legend are being cut off if the bar height is equal to port height – chart js

1👍

Instead of layout.margin.top, you need to define layout.padding.top as follows:

layout: {
  padding: {
    top: 20
  }
},

Leave a comment