-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
v3 Regression: Point cropped when indicating max or min values for scales #9372
Comments
try |
This helped a lot! Thanks! |
After checking the behaviour of setting Here are some examples with Some examples with |
And did you try with |
Why is this different when
The thinking behind defaulting to If you want the minimum to be 0, |
I can now see why it's behaviouring like that. In respect with suggestions I wanted to share with you the use case:
About suggestions:
|
I think the solution would indeed be different clipping for different elements, or having clipping configured per layer while being able to specify the layer per dataset/element type. |
In 2.9.4 only the line is clipped, points are drawn without clipping.
I think this is actually a separate issue (bug). The points that make the visible line segment are looked up and drawn, but this includes the next points outside the area, because the line needs those to draw correctly. The actual points should not be drawn though. |
Just tested on chartjs v3.6.2 and has not been fixed. Any plans to fix it in the near future? PS: I just updated the project link to use last chartjs v3.6.2. |
Using |
Expected Behavior
Points should be fully drawn on limits.
Current Behavior
When we indicate scale limits and a point drops on that limit, this point is cropped.
Possible Solution
Direct solution from app is just not indicating those limits. But it's not fully acceptable since:
Steps to Reproduce
https://codepen.io/beibean/pen/PomNmqe
Context
Migrating from v2.9.4 to v3.4.1
Environment
The text was updated successfully, but these errors were encountered: