-
Notifications
You must be signed in to change notification settings - Fork 12k
Closed
Labels
Description
Expected Behavior
The point should not overlap the label.
Current Behavior
The chart positioning doesn't take the point size into account.
Possible Solution
Adding a padding or offset options to pointsLabels.
A potential fix was proposed in #5873 but it ended up being reject as another PR was supposed to solve this problem by adding a line-height setting.
Increasing the line-height is not a solution when using multiline labels.
Steps to Reproduce
Charts.js: https://codepen.io/kurkle/pen/qBqQqxa
Vue-chart.js: https://codesandbox.io/s/autumn-frog-bel26?file=/components/RadarChart.vue
Environment
- Chart.js version: 2.9.4
- Browser name and version: Chrome 89
