javascript - Highstock + Bootstrap datepicker -
my question same 1 here: highstock date input jquery ui datepicker position changes
but i'm using bootstrap datepicker instead of jquery. noticed has on("show", ... ), on("hide" ...) instead of beforeshow, onclose respectively. don't know how change bodies work datepicker.
try this
settimeout(function () { $('input.highcharts-range-selector', $(chart.container).parent()) .datepicker({ format: "dd/mm/yyyy", todaybtn: "linked", orientation: "auto left", autoclose: true, todayhighlight: true }); }, 0);
Comments
Post a Comment