We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As the min and max return as Infinity and -Infinity all data is hidden.
To resolve this I updated the two functions below now the slider inits and shows the data and the slider just shows a 0.
findMinInArray
var min = Math.min.apply(Math, narray); if (!isFinite(min)) { min = 0; } return min;
findMaxInArray
var max = Math.max.apply(Math, narray); if (!isFinite(max)) { max = 0; } return max;
The text was updated successfully, but these errors were encountered:
please provide a test case jsfiddle /etc
Sorry, something went wrong.
use case example : the data is returned from a database and the number field is optional so may be fully empty.
https://jsfiddle.net/karlbibby/95mozgd9/5/
0.9.3.beta.20 is out
5fd59a1
fixed / improved a bit #455 #461
fixed in 0.9.3.beta.20 (improved it a bit by doing ceil / floor to max / min values
No branches or pull requests
As the min and max return as Infinity and -Infinity all data is hidden.
To resolve this I updated the two functions below now the slider inits and shows the data and the slider just shows a 0.
findMinInArray
findMaxInArray
The text was updated successfully, but these errors were encountered: