clamp does not work properly for bar chart with align==='end' and anchor==='end'
tearfur opened this issue · comments
Yat Ho commented
chart.js@3.9.1
chartjs-plugin-datalabels@2.1.0
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.