[Chartjs]-Chart.js modify style from dataset label

1👍

What you need you can find here: here.

See next example how you can use this:

legend: {
    labels: {
       fontSize: 22
    }
}

Just add code in your chart options, then your code will look like:

options: {
    legend: {
        labels: {
            fontSize: 22
        }
    }
}

Leave a comment