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

[ Core ] Charts choke handling datasets with Infinity datapoints #3125

Closed
MatthieuRivaud opened this issue Aug 10, 2016 · 2 comments
Closed

Comments

@MatthieuRivaud
Copy link
Contributor

Chart.js does not seem to gracefully handle Infinity datapoints (chart partially renders, or not at all).

It should be quite trivial to update Chart.scale.getRightValue to return NaN when given Infinity, and thus skip those problematic data points.

@etimberg
Copy link
Member

I agree that we should support this. 👍

@MatthieuRivaud
Copy link
Contributor Author

Oh my, I've been beaten to it. Thanks, @bcongdon !

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

2 participants