DEV: Use method definition syntax consistently (#14915)

This commit is contained in:
Jarek Radosz
2021-11-13 14:01:55 +01:00
committed by GitHub
parent bdd2c888b0
commit f414d5eace
66 changed files with 109 additions and 109 deletions

View File

@ -567,7 +567,7 @@ function pieChartConfig(data, labels, opts = {}) {
plugins: {
legend: {
labels: {
generateLabels: function () {
generateLabels() {
return labels.map((text, index) => {
return {
fillStyle: getColors(data.length)[index],