Chart.js icon indicating copy to clipboard operation
Chart.js copied to clipboard

Points are clipped even if clipping is disabled

Open porst17 opened this issue 3 years ago • 1 comments

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

porst17 avatar Apr 20 '22 14:04 porst17

I noticed that it is still working in v3.4.1: https://codepen.io/porst17/pen/popGMyv v3.5.0 seems to introduce the breaking change.

porst17 avatar Apr 20 '22 14:04 porst17