jRange
jRange copied to clipboard
Using negative and positive values on one slider?
Hello
Is it possible to have a range from -5 to +5 (0 included) and have the labels show the current value accordingly?
I tried with the settings below but somehow the labels show a different value.
from: -5,
to: 0,
step: 1,
scale: [-5, -4, -3, -2, -1, 0, +1, +2, +3, +4, +5],
Please advice
grtz Daniel
I put in a pull request with code that can handle this.