1π
β
To change the font, you should implement the scriptable options for the font
options and not the formatter
one.
datalabels: {
font: (context) => context.dataIndex === 1 ? ({weight: 'bold'}) : undefined
formatter: (value) => value + "μ"
},
Source:stackexchange.com