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:
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.
Source: stackoverflow.com
Related Query
- jQuery datepicker with Highstocks / Highcharts
- Highcharts / jQuery - destroy and rebuild chart with original options
- Make datepicker work with highcharts
- Highcharts v3.0.1 problems with rotating data labels in IE8 and jQuery v1.7.1
- Highcharts - Global configuration with common code and unique data & Headings
- Using Bootstrap Datepicker with Highcharts
- Highcharts with angularjs without jquery
- Jquery Highcharts is not loading when using with common function?
- Performance issue with Firefox on Highcharts and Highstocks
- Highmaps with Highcharts : Highcharts error #17 with jQuery
- passing formatting JavaScript code to HighCharts with JSON
- iterate JSON response with jQuery for Highcharts
- Accessing Highcharts when used with jQuery
- highcharts with only javascript and no jquery
- AngularJS With Highcharts WITHOUT JQuery
- Highcharts IE issues with jQuery ajax load
- Highstocks period scroll not working with jQuery tabs in IE
- Highcharts series visibility with csv data source
- Javascript Highcharts High buttons and calender with jquery
- Preserving jQuery dependency for highcharts with requireJS optimizer
- Stacked Bar type of jquery Highcharts with data from HTML Table
- Using JSON data with the jQuery highcharts plugin
- jQuery Highcharts not working with JSF 2.0
- invalid character error with jquery and highcharts SCRIPT1014: Invalid character
- How to have multiple highcharts with different series data in vuejs without repeating code
- Dynamic column based highcharts feeding data with jquery and php
- Why code of Horizonal line(y-axis) on a single in Highcharts get applied to all other charts integrated with Webdatarocks
- How to replace x-axes with our own timestamp data from API in Highcharts using highstocks
- Highcharts cloud issue with data source when duplicating chart
- jQuery slider range with HighCharts y-Axis
More Query from same tag
- HighCharts: Display total value below the legend title
- Highcharts, arithmetic operation between two graph's series points
- Rectangular selection in Highcharts columnrange
- Set custom symbol to HighCharts legend
- Highcharts Toggle Stacking for Multi-Axis Chart
- How to use a different formatter on Highcharts in each curve of the same graphic?
- How to edit highstocks.js for 2 datepickers
- How do I Fix a bad character that appears when i zoom on highstock
- Highcharts selection event not passing xAxis
- highcharts changing dial value interactive with mouse events
- Highcharts - Providing different range value in positive and negative side for Y-axis
- How to make the highcharts generated chart be scalable or responsive
- HighCharts Create gradiance decress color to blur for each value on bar chart
- Highcharts- Creating a dynamic x-axis to maintain bar spacing with less data points but maintain x-axis "width"
- Plot Histograms in Highcharts
- highcharts Scatter Chart not loading with LOTS of data
- Links in Y-Axis of stacked bar chart
- Highcharts showing wrong time based on timezone
- how to hide 'hour' in xAxis
- Highcharts stacked bar data from CSV
- Highcharts: Logarithmic y-axis with seconds, minutes, hours and days
- Convert Culture.DateTimeFormat to HighChart's xDateFormat string
- Cannot read property 'addEvent' of undefined
- Highcharts - x axis incorrect date labels appearing
- Highcharts graph not visible
- Highchart range selector doesn't show up
- How to create semi pie progress with highcharts?
- HighCharts JSONArray without quotes
- Highcharts - Highstock chart showing double line on hovering data points to show tooltip
- How do I setup Individual Column color for each Column (HighStock/HighChart)