You are right concerning variable 'nom' : your version is correct.
I'm using Chart.js version 4.5.1
If I replace fontColor by color : there is no action ! Display is correct only if I use fontColor.
And style, weight and size are not taken into account : they are the same for the 2 labels (I guess default values).