Reputation: 9
Any idea of adding prefix like $ to add before data labels in "chartjs-plugins-datalbels" .
Any idea to move the datalabels to left or right on top of the bar on barchart in "chartjs-plugins-datalbels" .
Any help would be appreciated .
Upvotes: 1
Views: 1179
Reputation: 1
const option ={
plugins: {
tooltip: {
callbacks: {
label: (item) =>
`${item.label}: ${item.formattedValue}`,
},
},
} }
Upvotes: 0