5๐
โ
For global use: Chart.defaults.font.family = "Lato"
.
Details here.
2๐
The correct way to specify would be like this (in options
):
plugins: { // not plugin
legend: { // extra layer: legend
labels: { // with an "s"
font: {
family: "Lato" // right here
}
}
}
}
Source:stackexchange.com