[Chartjs]-How to increase font size in the legend of your chart.js plot?

1๐Ÿ‘

โœ…

As described in the docs you can set the size in the options.plugins.legend.labels.font.size namespace

options: {
  plugins: {
    legend: {
      labels: {
        font: {
          size: 20
        }
      }
    }
  }
}

Leave a comment