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