chartjs / chartjs/Chart.js

Points are clipped even if clipping is disabled

Open
#10,310 1 comment 0 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 `line` plot with has `min` or `max` set for a scale and has `datasets.line.clip` set to `false`, the lines and points for each data set should be rendered even if they are outside of the actual chart area (e.g. > `max` of the scale).

### Current behavior

The lines are rendered, but the points are clipped.

### Reproducible sample

https://codepen.io/porst17/pen/PoEVrmE

### 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 99, Chrome 100 on macOS

### 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.