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 + "์"
},
๐คuser2057925
Source:stackexchange.com