Javascript examples for highcharts:Stock Chart
remove From and To filters from highstock?
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://code.jquery.com/jquery-1.9.1.js"></script> <script type="text/javascript"> $(function () {/* w ww . j ava2 s . c o m*/ $.getJSON('https://www.highcharts.com/samples/data/jsonp.php?filename=range.json&callback=?', function (data) { $('#container').highcharts('StockChart', { chart: { type: 'columnrange' }, title: { text: 'Temperature variation by day' }, tooltip: { valueSuffix: '?C' }, rangeSelector: { inputEnabled:false, selected: 2, buttons: [ { type: "minute", count: 60, text: "1h" }, { type: 'day', count: 1, text: '1d' }, { type: 'day', count: 30, text: '1m' }, { type: 'day', count: 90, text: '3m' }, { type: 'day', count: 180, text: '6m' }, { type: 'all', text: 'All' }] }, series: [{ name: 'Temperatures', data: data }] }); }); }); </script> </head> <body> <script src="https://code.highcharts.com/stock/highstock.js"></script> <script src="https://code.highcharts.com/stock/highcharts-more.js"></script> <script src="https://code.highcharts.com/stock/modules/exporting.js"></script> <div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div> </body> </html>