score:0
The range selector and navigator are Highstock features. To use them, use Highstock source code and stockChart
constructor type.
$(document).ready(function() {
var options = {
chart: {
renderTo: 'container',
type: 'line',
},
rangeSelector: {
enabled: true
},
series: [{}]
};
$.getJSON('chart.php', function(data) {
options.series[0].data = data
var chart = new Highcharts.stockChart(options);
});
});
Live demo: http://jsfiddle.net/BlackLabel/n49t268u/
Docs: https://www.highcharts.com/docs/stock/understanding-highstock
Source: stackoverflow.com
Related Query
- how can I use rangeselector and navigation in highcharts in the given code
- How can i use Highstock rangeSelector get the yAxis Max_value and Min_Value
- How can i force Highcharts to use same symbols in Legend and Series?
- How to use jspdf to print and download the multiple highcharts contents in pdf format
- How to tell Highcharts to set date on the x axis, and use a range of time (like 1 day)
- HighCharts - How can i use the period separator in xAxis
- How can you align the left and right Y-axes of vertically stacked HighCharts charts?
- How to modify the code so that Highcharts graph does not cover fixed navigation bar at the top of the page?
- HIGHCHARTS - Given a series with UNIX stamps and values pairs for the data, how do I show only the date for the first and last point on xAxis?
- How can I maintain the Highcharts halo effect on pie chart after click and mouseOut?
- How can i use double click in Highcharts and get that data
- HighCharts - How can I turn off the points?
- How can I change the colors of my highcharts piechart?
- How to use the tooltip formatter and still display chart color (like it does by default)?
- How can i hide all the Series in highcharts at a time
- How can I remove the white border from HighCharts pie chart?
- How do you increase the performance of highcharts chart creation and rendering
- How can I reset the styles given to series in Highcharts?
- How can I do in Highchart to have 1px space between the columns and the y Axis?
- Highcharts - How can I remove starting and ending padding from area chart
- Query regarding why and how to use highcharts license
- How can I delete all of the points from a highcharts series
- How to Check and Uncheck all the Legend elements in HighCharts Linechart?
- How can i keep the color the same in highcharts
- How to use add series and update methods in the high chart wrapper for angular?
- How to use Highmaps and Highcharts with Meteor?
- How can I hide and show a category in highcharts
- How to remove the value and number labels from Highcharts angular gauge
- Highcharts : How can i move the tooltip to external DIV?
- Highcharts : How do I keep the marker formatting and make the click event fire with a 5K+ point scatter plot?
More Query from same tag
- Setting background text in Scatter Plot using Highcharts API
- highstock axis update from button
- How to expand the Connector of ORG Chart
- Highcharts create legend for waterwall and stack column chart
- Highcharts add 3 buttons Hide/Remove/Settings to Legend
- How to export the whole page or html content with Highcharts not just the chart?
- Fix Highcharts dataLabels to the bottom
- how to animate highcharts marker symbol on chart load
- Highcharts rendering cycle (numerous label formatter calls)
- Highcharts - load and refresh csv
- Highcharts Tooltip formatting for shared Tooltips
- Highchart - adding more series to one of multiple synced highstock charts
- Difference between highcharts and highstock during real time trace and xAxis with max value
- Generating PDFs when JavaScript is being used
- Draw JSON result in highchart
- how to update Large tree map without redrawing chart?
- highcart.js pointInterval for 15 days datetime x-axis
- Highcharts bar chart with fixed bar widths and gaps
- Export chart image data locally in HIghchart
- How to format a highcharts .NET stacklabel total
- Highchart Renderer By min and max
- Update Tooltip onclick using customButton Highcharts
- Highcharts Modify Tooltip for One Series
- Is there no way to turn off animation in Highcharts for multiple real-time curves?
- How do I change a specific bar color in Highcharts Bar Chart?
- Changing month names of a highchart plot
- Highcharts Bar Graph's Tool Tip Point Format
- Pine (Tradingview) Showing different values in different timeframe
- HIghcharts & Bootstrap: Chart on Tab 2 is not appearing. Though First chart is working fine
- How to combine two bunch of data, into one chart in Highcharts?