chartjs-plugin-datalabels
chartjs-plugin-datalabels copied to clipboard
clamp does not work properly for bar chart with align==='end' and anchor==='end'
[email protected] [email protected]
config = {
type: 'bar',
/* ... */
options: {
/* ... */
datalabels: {
clamp: true,
anchor: 'end',
align: 'end'
}
}
}
If the bar is as long as the y-axis, then the data label won't show.