I am having the following function:
Mois <-
"$(function() {
setTimeout(function(){
var vals = [0];
vals.push(12);
vals.push(18);
vals.push(24);
vals.push(36);
vals.push(60);
vals.push(120);
$('#mois').data('ionRangeSlider').update({'values':vals})
}, 5)})"
Which I use in Shiny application to control the step of the SliderInput. That gives me:
How can I change the numbers. I am having months and I want to label the scale in years.
Thanks