-
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
Line drawn outside min/max since 2.9 #6631
Comments
Hmm, it looks like it always drew outside the bounds in the y-direction (#6540), but we have a regression in the x-direction. It shouldn't escape in either direction though |
This comes from #6285 and is limited to If we don't update the points outside scale bounds, then the line will end at the last point before that: If we clip strictly to chartArea: So there are at least 2 ways it is expected to work. |
As a user I would expect the 3th one (#6631 (comment)), because I only limit the x-axis scale. Will the 1st one still work when there is no point at the I do not limit the y-axis scale range, so I expect to see the line entirely, not partially cut (2nd image). |
Thanks for the quick fix, 2.9.2 works as expected. Can this issue be closed, or does it need to be merged in to master as well? |
Its not fixed in master yet. |
Expected Behavior
The line should start at
min
and stop atmax
, as it did in 2.8.0:Current Behavior
The line is drawn outside
min
andmax
in 2.9.1. Note that this only becomes obvious when increasing theborderWidth
.Steps to Reproduce (for bugs)
Click here to expand and see the example code used for the images above.
Environment
The text was updated successfully, but these errors were encountered: