-
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: Line doesn't draw when points are out of range #9564
Comments
This is actually the y-scale determining its range so that the line is drawn outside. (change Some thoughts: |
I know changing the Is there any plan to fix this issue within comming versions? |
I just came back to use chart.js again. I upgraded to last version (v3.6.2) and bug still occurrs. Any plans to fix it in the near future? Edit: Here is project repo with new chart.js |
If anyone is interested in the partial solution I have applied on app side:
Anyway, I think this should be integrated within chartjs. |
Expected Behavior
Line should be drawn as it was in v2.9.4.
Current Behavior
When we have a line with two points out of X range (min/max), this line is not drawn.
Steps to Reproduce
For a linear graph:
See this project
Context
We need this in our application, where you can see temperature changes in different zooms levels such as day or hour. With this behaviour, when you move to an hour zoom where temperature has not changed, you see an empty graph which is very ugly.
Environment
The text was updated successfully, but these errors were encountered: