Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clip option on scale doesn't do anything #11741

Open
sbourouis opened this issue Apr 15, 2024 · 0 comments
Open

Clip option on scale doesn't do anything #11741

sbourouis opened this issue Apr 15, 2024 · 0 comments

Comments

@sbourouis
Copy link

sbourouis commented Apr 15, 2024

Expected behavior

Setting clip: false on the scales.x options should not clip the points that are on the x-axis limit.
Setting clip: false on scales.x and scales.y should act like setting clip: false on the options root level and not clip the data that appears out of the min and max limits
image

Current behavior

image

Setting clip: false on both axes does nothing.

Reproducible sample

https://codepen.io/sbourouis/pen/dyLqMay

Optional extra steps/info to reproduce

No response

Possible solution

No response

Context

No response

chart.js version

4.4.2

Browser name and version

Chrome Version 123.0.6312.107 (Official Build) (arm64)

Link to your project

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant