You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When having a scatter plot with points of which the y-values are extremely close to each other, the y-axis should at least show something, and points should not disappear entirely. Maybe there is a limit to which the y-axis can zoom or something, but it should not go away.
Current Behavior
When having a scatter plot with points of which the y-values are extremely close to each other, the y-axis disappears entirely and it looks as if there is no data at all.
Notice that the y-axis is missing, and that no points are being shown, even though there are two points in the data set.
If you uncomment the one line that adds one point, notice how everything works fine.
Context
This was noticed by a user of an internal tool who was confused that no data was shown at all in the chart in certain circumstances, even when they could see through other means that there was in fact data available.
Environment
Chart.js version: 2.7.3
Browser name and version: Google Chrome 71.0.3578.98
Thank you for a great library! Let me know if you need any more details. Happy to help fixing this, but don't have too much context on internals of axis scaling.
The text was updated successfully, but these errors were encountered:
Ah, that seems like a good workaround, thanks! I still think it's a bug that with default configuration it basically appears to crash. Maybe we should just have precision default to the minimum precision that Javascript/Chart.js can handle?
Expected Behavior
When having a scatter plot with points of which the y-values are extremely close to each other, the y-axis should at least show something, and points should not disappear entirely. Maybe there is a limit to which the y-axis can zoom or something, but it should not go away.
Current Behavior
When having a scatter plot with points of which the y-values are extremely close to each other, the y-axis disappears entirely and it looks as if there is no data at all.
Steps to Reproduce
Context
This was noticed by a user of an internal tool who was confused that no data was shown at all in the chart in certain circumstances, even when they could see through other means that there was in fact data available.
Environment
Thank you for a great library! Let me know if you need any more details. Happy to help fixing this, but don't have too much context on internals of axis scaling.
The text was updated successfully, but these errors were encountered: