chartjs / chartjs/Chart.js

Hover on bottom of doughnut slightly cuts off a part

Open
#10,220 4 comments 5 reactions 0 assignees View on GitHub
type: bug
Dominant language
JavaScript
Stars
67.7k
Forks
11.9k
Avg merge
7h 39m
Merged PRs (30d)
5

Description

### Expected behavior

When a hover on the bottom on a doughnut chart is done, that part is enlarged but should not result in cutting off a part at the bottom.

### Current behavior

A part is cut off, see screenshot.
![bottom](https://user-images.githubusercontent.com/198964/157055881-8c6e1224-73e7-4d39-82a6-235b93f73d40.png)

### Reproducible sample

https://www.chartjs.org/docs/latest/configuration/canvas-background.html

### Optional extra steps/info to reproduce

_No response_

### Possible solution

_No response_

### Context

_No response_

### chart.js version

v3.7.1

### Browser name and version

Firefox 97 and Chromium 99

### Link to your project

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.