score:4

Accepted answer

you could set extremes once a date is selected, using your onselect event and removing this.onchange().

$.datepicker.setdefaults({
        dateformat: 'yy-mm-dd',
        onselect: function(datetext) {
            chart.xaxis[0].setextremes($('input.highcharts-range-selector:eq(0)').datepicker("getdate").gettime(), $('input.highcharts-range-selector:eq(1)').datepicker("getdate").gettime()); 
            //this.onchange();
            this.onblur();
        }
    });

example:

http://jsfiddle.net/bwem5/542/

score:1

perhaps this will help

change range in highstock dynamically

i be able to update configuration of the displayed chart on the fly by accessing axis objects.


Related Query

More Query from same tag