chartjs / chartjs/chartjs-plugin-datalabels
clamp does not work properly for bar chart with align==='end' and anchor==='end'
Open
- Dominant language
- JavaScript
- Stars
- 920
- Forks
- 507
- PR merge metrics
- No merged PRs in 30d
Description
chart.js@3.9.1
chartjs-plugin-datalabels@2.1.0
```js
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.