Chartjs-Chartjs not rendering when legend display true

0👍

After a few hours of debugging chartjs, I discovered that it misses some label parameters in the legend. After informing the parameters the chart returned to display perfectly

options: {
  legend: {
    display: true,
    position: 'bottom',
    labels: {
      boxWidth: 40,
      padding: 10
    }
  }
}

Leave a comment