Open kylebakerio opened 4 years ago
Hi, @kylebakerio In your case min interval should be also timestamp, like you do with other dates. Value 3 - is just 3ms, and that is nothing.
I have proposed a pull request for the readme documentation. Thanks for this library, it's great. :)
$(sliderDiv).ionRangeSlider({ skin: "big", type: "double", grid: true, keyboard: true, min_interval: 3, min: this.dateToTS(new Date(this.firstDate)), max: this.dateToTS(new Date(this.lastDate)), from: this.dateToTS(new Date(startDate)), to: this.dateToTS(new Date(endDate)), prettify: this.tsToDate, onChange() { runGraphs(); }, onUpdate() { if (setURL) ionSlider.setURLdate(); }, onFinish() { if (setURL) ionSlider.setURLdate(); }, });
I've also tried setting it to 30. Nothing. Documentation is thin, no examples that are working that show it in action I can find.
Am I missing something?
You can see it at covid.kylebaker.io, it's the date slider.